import type { TodoFrontMatter, TodoRecord } from "./todos-types.ts";
export declare function ensureTodosDir(todosDir: string): Promise<void>;
export declare function readTodoFile(filePath: string, idFallback: string): Promise<TodoRecord>;
export declare function writeTodoFile(filePath: string, todo: TodoRecord): Promise<void>;
export declare function generateTodoId(todosDir: string): Promise<string>;
export declare function listTodos(todosDir: string): Promise<TodoFrontMatter[]>;
export declare function ensureTodoExists(filePath: string, id: string): Promise<TodoRecord | null>;
export declare function appendTodoBody(filePath: string, todo: TodoRecord, text: string): Promise<TodoRecord>;
//# sourceMappingURL=todos-storage.d.ts.map