UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 833 B
export declare function isRecord(value: unknown): value is Record<string, unknown>; export declare function isNonEmptyString(value: unknown): value is string; export declare function parseEnvValue(raw: string): string; export declare function normalizePositiveInt(value: unknown, fallback: number): number; export declare function parseDotPath(pathname: string): string[]; export declare function toDotPath(segments: string[]): string; export declare function ensureDirForFile(filePath: string): void; export declare function writeJsonFileSecure(pathname: string, value: unknown): void; export declare function readTextFileIfExists(pathname: string): string | null; export declare function writeTextFileAtomic(pathname: string, value: string, mode?: number): void; export declare function describeUnknownError(err: unknown): string;