import { type Config, type GraphDoc, type PatchDoc, type PrLensSchemaError, type RenderManifest } from "@coldtea/pr-lens-schema"; import { PrLensCliError } from "./errors.js"; export type DocumentKind = "graph" | "patch" | "render-manifest" | "config"; export type ValidatedDocument = { kind: "graph"; document: GraphDoc; } | { kind: "patch"; document: PatchDoc; } | { kind: "render-manifest"; document: RenderManifest; } | { kind: "config"; document: Config; }; export declare const describeDocumentKind: (kind: DocumentKind) => string; export declare const invalidDocument: (path: string, kind: DocumentKind, error: PrLensSchemaError) => PrLensCliError; export declare const readGraphDoc: (path: string) => Promise; export declare const readRenderManifest: (path: string) => Promise; export declare const readConfig: (path: string) => Promise; export declare const validateDocumentFile: (path: string) => Promise; //# sourceMappingURL=document.d.ts.map