import { type ExecutionEnv, type FileInfo, type Result } from "./types.js"; export interface FileInfoDiagnostic { type: "warning"; code: "file_info_failed"; message: string; path: string; } interface FileInfoDiagnostics { push(diagnostic: FileInfoDiagnostic): unknown; } export declare function parseFrontmatter(content: string): Result<{ frontmatter: Record; body: string; }, Error>; export declare function resolveFileInfoKind(env: ExecutionEnv, info: FileInfo, diagnostics: FileInfoDiagnostics): Promise<"file" | "directory" | undefined>; export declare function joinEnvPath(base: string, child: string): string; export declare function dirnameEnvPath(path: string): string; export declare function basenameEnvPath(path: string): string; export declare function relativeEnvPath(root: string, path: string): string; export {};