UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) 345 B
import type { Stats } from "node:fs"; export type RegularFileStatResult = { missing: true; } | { missing: false; stat: Stats; }; export declare function isFileMissingError(err: unknown): err is NodeJS.ErrnoException & { code: "ENOENT"; }; export declare function statRegularFile(absPath: string): Promise<RegularFileStatResult>;