import type { OatDocumentationConfig } from '../../../config/oat-config.js';
import type { DocsInitResolvedOptions } from './resolve-options.js';
export interface ScaffoldDocsAppOptions extends DocsInitResolvedOptions {
    assetsRoot: string;
}
export interface ScaffoldDocsAppResult {
    appRoot: string;
    createdFiles: string[];
    documentationConfig: OatDocumentationConfig;
}
export interface OatDepContext {
    isOatRepo: boolean;
    localPackages: Set<string>;
    oatPackageVersions: Record<string, string>;
}
type MaybePromise<T> = T | Promise<T>;
export interface ScaffoldDocsAppDependencies {
    detectPnpmVersion: () => MaybePromise<string | null | undefined>;
    hasInheritedPackageManager: (repoRoot: string, appRoot: string) => MaybePromise<boolean>;
}
export declare const PNPM_FALLBACK = "10.13.1";
export declare function detectIsOatRepo(repoRoot: string): Promise<boolean>;
export declare function resolveOatDepContext(repoRoot: string, assetsRoot: string): Promise<OatDepContext>;
export declare function scaffoldDocsApp(options: ScaffoldDocsAppOptions, overrides?: Partial<ScaffoldDocsAppDependencies>): Promise<ScaffoldDocsAppResult>;
export {};
//# sourceMappingURL=scaffold.d.ts.map