import type { GeneratedFileResult } from "./write-generated-file.js";
import { type ServiceDependencyDiagnostic } from "../diagnostics/service-deps.js";
export interface RunTypegenOptions {
    rootDir: string;
    generateServices: boolean;
    generateAppExtensions: boolean;
    checkOnly?: boolean;
    writeManifest?: boolean;
}
export interface TypegenResult {
    ok: boolean;
    files: GeneratedFileResult[];
    diagnostics: ServiceDependencyDiagnostic[];
    warnings: string[];
    manifest?: GeneratedFileResult;
}
export declare function runTypegen(options: RunTypegenOptions): Promise<TypegenResult>;
