export declare const UPLOAD_HELP = "usage: gws-axi drive upload [flags]\nargs[1]:\n Content source \u2014 exactly one of: a local file path\n (default), `-` to read from stdin, or --content below\nflags[7]:\n --content Inline upload body (alternative to a path or stdin)\n --parent Destination folder ID (default: My Drive root).\n Cannot be combined with --update.\n --name Name to give the file in Drive (default: the local\n file's basename). REQUIRED for stdin / --content (no\n filename to infer). With --update, renames the target.\n --mime Override the source content type (default: detected from\n the file \u2014 or, for stdin/--content, the --name \u2014\n extension; unknown \u2192 application/octet-stream)\n --convert Convert to the matching native Google format on upload\n (.docx\u2192Doc, .xlsx/.csv\u2192Sheet, .pptx\u2192Slides). With\n --update, only when the target is already that native type.\n --update Replace an existing file's content (new revision)\n instead of creating a new file.\n --replace-all-tabs Required to --update a Doc with 2+ tabs or a Sheet with\n 2+ sheets: the import collapses it to a single tab /\n sheet, destroying the others.\n --account REQUIRED when 2+ accounts are authenticated\nexamples:\n gws-axi drive upload ./report.pdf\n gws-axi drive upload ./report.pdf --parent 1AbC... --name \"Q2 Report.pdf\"\n gws-axi drive upload ./notes.docx --convert\n echo '# Notes' | gws-axi drive upload - --name notes.md --convert\n gws-axi drive upload --content '# Notes' --name notes.md --convert\n gws-axi drive upload ./edited.md --convert --update 1XyZ...\nnotes:\n Without --update, every upload creates a NEW Drive file \u2014 re-running makes\n another copy (Drive allows duplicate names). Use --update to replace an\n existing file's content in place.\n --update replaces a Doc or Sheet WHOLESALE: it cannot target one tab of a\n multi-tab doc or one sheet of a multi-sheet spreadsheet, and the import\n leaves a single tab / sheet behind. Such targets are refused unless you\n pass --replace-all-tabs.\noutput:\n An `action: created` (or `updated`) line plus a `file{...}` object with\n id, name, mime_type, size_bytes, parents, and web_view_link.\n"; export interface ParsedFlags { localPath: string | undefined; stdin: boolean; content: string | undefined; parent: string | undefined; name: string | undefined; mime: string | undefined; convert: boolean; update: string | undefined; replaceAllTabs: boolean; } export declare function parseFlags(args: string[]): ParsedFlags; /** * Validate the local path is present and the flag combination is legal, * before any FS/network work. Pure — throws `AxiError` on the same cases the * spec enumerates, so it's unit-testable without touching disk or Google. */ export declare function validateFlags(flags: ParsedFlags): void; export declare function driveUploadCommand(account: string, args: string[]): Promise;