import type { Database } from "bun:sqlite";
import { type ExportLocalBridgeOptions, type ImportLocalBridgeOptions, type LocalBridgeImportResult, type TodosLocalBridgeData } from "./local-bridge.js";
export declare const TODOS_MARKDOWN_SCHEMA = "hasna.todos.md/v1";
export declare const TODOS_MARKDOWN_BRIDGE_MARKER = "hasna.todos.bridge";
export interface ImportTodosMarkdownOptions {
    dryRun?: boolean;
    conflictStrategy?: ImportLocalBridgeOptions["conflictStrategy"];
}
export interface TodosMarkdownImportResult {
    ok: boolean;
    dry_run: boolean;
    mode: "embedded_bridge" | "plain_markdown";
    inserted: Record<keyof TodosLocalBridgeData, number>;
    merged: Record<keyof TodosLocalBridgeData, number>;
    skipped: Record<keyof TodosLocalBridgeData, number>;
    conflicts: LocalBridgeImportResult["conflicts"];
    issues: string[];
}
export declare function exportTodosMarkdown(options?: ExportLocalBridgeOptions, db?: Database): string;
export declare function importTodosMarkdown(markdown: string, options?: ImportTodosMarkdownOptions, db?: Database): TodosMarkdownImportResult;
//# sourceMappingURL=todos-md.d.ts.map