export type WorkspaceKitProfile = {
    project: {
        name: string;
    };
    packageManager: "pnpm" | "npm" | "yarn";
    commands: {
        test: string;
        lint: string;
        typecheck: string;
    };
    github: {
        defaultBranch: string;
    };
};
type OwnedPathsDocument = {
    schemaVersion: number;
    ownedPaths: string[];
    notes?: string;
};
export declare function parseJsonFile(filePath: string): Promise<unknown>;
export declare function validateProfile(cwd: string): Promise<{
    errors: string[];
    profile?: WorkspaceKitProfile;
}>;
export declare function toJsonWithTrailingNewline(value: unknown): string;
export declare function generateProfileDrivenArtifacts(cwd: string, profile: WorkspaceKitProfile): Promise<{
    generatedJsonPath: string;
    generatedRulePath: string;
}>;
export declare function createDriftExpectedAssets(profile: WorkspaceKitProfile): Map<string, string>;
export declare function driftContentMatches(relativePath: string, existingContent: string, expectedContent: string): boolean;
export declare function resolvePackageVersion(cwd: string): Promise<string | undefined>;
/** Version from the installed kit package (works from repo `dist/` or `node_modules`). */
export declare function readCliBundledPackageVersion(): Promise<string | undefined>;
export declare function readOwnedPathsDocument(cwd: string): Promise<OwnedPathsDocument>;
export declare function writeFileWithBackupIfChanged(cwd: string, relativePath: string, content: string, backupRoot: string): Promise<boolean>;
export {};
