export declare const DIFF_HELP = "usage: gws-axi docs diff [revB] [flags]\nargs[3]:\n The Google Doc / Drive file ID (the portion of the URL after /d/)\n The \"from\" revision id (from `gws-axi docs revisions `)\n The \"to\" revision id (optional; defaults to the head revision)\nflags[3]:\n --full Don't truncate the diff (default cap: 8000 chars)\n --out Write the full unified diff to a file (implies --full)\n --account Account override when 2+ are configured\nexamples:\n gws-axi docs diff 1Kc9mv... 841 865\n gws-axi docs diff 1Kc9mv... 841 # 841 vs head\n gws-axi docs diff 1Kc9mv... 841 865 --out ./change.diff\noutput:\n A `document{id,name,type}` header, `from{revision,modified,author}` and\n `to{revision,modified,author}` provenance blocks, a `summary{lines_added,\n lines_removed,changed}`, and a `diff` block of the unified diff (truncated\n unless --full/--out). The diff shows the changes that transform revA into revB.\nnotes:\n Native Google Docs only. Google exposes no diff API, so this exports BOTH\n revisions to markdown server-side and diffs them locally \u2014 the result is a\n diff of two markdown exports (lossy relevance previews), NOT a faithful\n editorial diff: formatting-only or Google-specific changes may be invisible,\n and native revision history is itself a sparse sample.\n"; interface ParsedFlags { fileId: string; revA: string; revB: string | undefined; full: boolean; out: string | undefined; } export declare function parseFlags(args: string[]): ParsedFlags; export interface DiffResult { unified: string; linesAdded: number; linesRemoved: number; changed: boolean; } /** * Compute a unified diff (and added/removed line counts) of two text blobs. * Argument order is respected — the diff transforms `textA` into `textB`. * Pure (no I/O) so it's unit-testable. */ export declare function computeDiff(labelA: string, labelB: string, textA: string, textB: string, headerA?: string, headerB?: string): DiffResult; export declare function docsDiffCommand(account: string, args: string[]): Promise; export {};