declare const CLASSES: readonly ["approved_outputs", "repository_content", "repository_skills"]; export type RepositorySourceClass = typeof CLASSES[number]; export interface RepositorySourceScope { organizationId: string; workspaceId: string; repositoryBindingId?: string | null; repositoryAgentId?: string | null; } export interface RepositorySourceAuthorization { schema: 'dharma.repository-source-authorization/v1'; organizationId: string; workspaceId: string; repositoryBindingId: string; repositoryAgentId: string; revision: number; generationId: string; receiptId: string; policyRevision: string; policyHash: string; confirmedAt: string; policy: { action: 'authorize'; confirmed: true; requestId: string; repositoryBindingId: string; expectedRevision: number; allowedContentClasses: RepositorySourceClass[]; approvedRepositoryPaths: string[]; approvedOutputFolders: string[]; automaticValidatedPublication: true; retentionDays: number; maximumFileBytes: number; maximumSnapshotBytes: number; maximumDailyUploadBytes: number; expiresAt: string | null; }; } export declare function repositorySourcePathSafe(path: string): boolean; export declare function validateRepositorySourceAuthorization(value: unknown, scope: RepositorySourceScope, now?: Date): RepositorySourceAuthorization; export declare function repositorySourcePathAllowed(authorization: RepositorySourceAuthorization, path: string, contentClass: RepositorySourceClass): boolean; export declare function parseRepositorySourcePolicyResponse(value: unknown, scope: RepositorySourceScope, now?: Date): RepositorySourceAuthorization; export {}; //# sourceMappingURL=repositorySourceAuthorization.d.ts.map