import { type BootstrapHostScope } from './bootstrapHostScope.js'; declare const FILES: readonly [".agents/skills/dharma-agent-fabric/.dharma-agent-fabric.json", ".agents/skills/dharma-agent-fabric/SKILL.md", ".agents/skills/dharma-agent-fabric/references/organization.md", ".dharma/agent-fabric.json", ".dharma/repository-agent.json"]; type InstallerFile = typeof FILES[number]; export interface RepositoryInstallerInput { workspace: string; hqUrl: string; organizationId: string; workspaceId: string; policyRevision: string; repositoryAgentId?: string | null; repositoryBindingId?: string | null; sourceAuthorization?: unknown; repositoryAgentKey?: string | null; controlBranch?: string | null; } export declare function captureRepositoryInstallerInput(input: RepositoryInstallerInput): RepositoryInstallerInput; export declare function prepareRepositoryInstallerWorkspace(workspace: string, workspaceId: string): Promise<{ workspace: string; ownership: "absent" | "signed" | "installer"; }>; export declare function checkedPath(workspace: string, path: string, leaf: 'file' | 'directory', scope?: BootstrapHostScope | undefined): Promise; export declare function assertRepositoryInstallerOwnership(workspace: string, workspaceId: string): Promise<"absent" | "signed" | "installer">; export declare function writeRepositoryInstallerFile(workspace: string, path: InstallerFile, content: string, expectedContent?: Buffer): Promise; export {}; //# sourceMappingURL=repositoryInstallerFiles.d.ts.map