openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
15 lines (14 loc) • 961 B
TypeScript
import { c as isRecord$1 } from "../../utils-CRegZsWE.js";
import { l as MigrationItem } from "../../plugin-entry-BOAJmgcf.js";
//#region extensions/migrate-claude/helpers.d.ts
declare function resolveHomePath(input: string): string;
declare function exists(filePath: string): Promise<boolean>;
declare function isDirectory(dirPath: string): Promise<boolean>;
declare function sanitizeName(name: string): string;
declare function readText(filePath: string | undefined): Promise<string | undefined>;
declare function readJsonObject(filePath: string | undefined): Promise<Record<string, unknown>>;
declare const isRecord: typeof isRecord$1;
declare function childRecord(root: Record<string, unknown> | undefined, key: string): Record<string, unknown>;
declare function appendItem(item: MigrationItem): Promise<MigrationItem>;
//#endregion
export { appendItem, childRecord, exists, isDirectory, isRecord, readJsonObject, readText, resolveHomePath, sanitizeName };