import * as z from "zod/v4-mini";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The permission level to grant. Read more about roles and their permissions on [GitHub documentation](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role).
 */
export declare const Permission: {
    readonly Pull: "pull";
    readonly Triage: "triage";
    readonly Push: "push";
    readonly Maintain: "maintain";
    readonly Admin: "admin";
};
/**
 * The permission level to grant. Read more about roles and their permissions on [GitHub documentation](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role).
 */
export type Permission = OpenEnum<typeof Permission>;
/**
 * Properties for a benefit of type `github_repository`.
 */
export type BenefitGitHubRepositoryProperties = {
    /**
     * The owner of the repository.
     */
    repositoryOwner: string;
    /**
     * The name of the repository.
     */
    repositoryName: string;
    /**
     * The permission level to grant. Read more about roles and their permissions on [GitHub documentation](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role).
     */
    permission: Permission;
};
/** @internal */
export declare const Permission$inboundSchema: z.ZodMiniType<Permission, unknown>;
/** @internal */
export declare const Permission$outboundSchema: z.ZodMiniType<string, Permission>;
/** @internal */
export declare const BenefitGitHubRepositoryProperties$inboundSchema: z.ZodMiniType<BenefitGitHubRepositoryProperties, unknown>;
/** @internal */
export type BenefitGitHubRepositoryProperties$Outbound = {
    repository_owner: string;
    repository_name: string;
    permission: string;
};
/** @internal */
export declare const BenefitGitHubRepositoryProperties$outboundSchema: z.ZodMiniType<BenefitGitHubRepositoryProperties$Outbound, BenefitGitHubRepositoryProperties>;
export declare function benefitGitHubRepositoryPropertiesToJSON(benefitGitHubRepositoryProperties: BenefitGitHubRepositoryProperties): string;
export declare function benefitGitHubRepositoryPropertiesFromJSON(jsonString: string): SafeParseResult<BenefitGitHubRepositoryProperties, SDKValidationError>;
//# sourceMappingURL=benefitgithubrepositoryproperties.d.ts.map