import type { AssembleResult } from "./assemble.js";
export declare const DOCS_APP_DIR = "apps/docs";
export interface PortalRunResult {
    assembled: AssembleResult;
    errors: string[];
}
export declare function runAssemble(args: {
    repoRoot: string;
    outDir: string;
    configOut?: string;
    writeFiles?: boolean;
}): PortalRunResult;
export declare function reportAssembly(result: PortalRunResult): void;
export declare function checkPortal(args: {
    repoRoot: string;
    diffBase?: string | undefined;
    printManifest?: boolean;
    manifestOut?: string | undefined;
    checkCliReference: () => Promise<string | null>;
}): Promise<string[]>;
export interface PortalCommandOptions {
    out?: string | undefined;
    assembleOnly?: boolean;
    serve?: boolean;
    port?: string;
    check?: boolean;
    printManifest?: boolean;
    diffBase?: string | undefined;
    manifestOut?: string | undefined;
}
export declare function runPortalCommand(opts: PortalCommandOptions, deps: {
    repoRoot: string;
    checkCliReference: () => Promise<string | null>;
}): Promise<void>;
export declare function cliReferenceStaleness(repoRoot: string): Promise<string | null>;
