export declare const ACTIVITY_HELP = "usage: gws-axi drive activity [flags]\nargs[1]:\n A Drive file or folder ID (the portion of the URL\n after /d/ or /folders/)\nflags[5]:\n --folder Treat as a folder: report activity for it and\n all descendants (ancestorName), not just the item itself\n --since Only activity at/after this time. A date-only value\n opens at that day's local midnight.\n --until Only activity before this time. A date-only value\n closes at the END of that day, so\n --since D --until D is all of day D. Both accept\n tokens: now, today, tomorrow, yesterday, +Nd/-Nd,\n +Nw/-Nw, +Nh/-Nh.\n --action Comma-separated action types to include: create, edit,\n move, rename, delete, restore, permission_change,\n comment\n --limit Max activities to return, newest first (default: 50)\n --account Account override when 2+ are configured\nexamples:\n gws-axi drive activity 1V09rp...\n gws-axi drive activity 1AbCfolder... --folder --action permission_change,delete\n gws-axi drive activity 1V09rp... --since 2026-01-01 --until 2026-04-01\n gws-axi drive activity 1V09rp... --since today\noutput:\n An `item{id,scope}` header followed by an `activities[N]{time,action,actor,target}`\n list, newest first. Actions cover create/edit/move/rename/delete/restore,\n permission changes, and comments \u2014 richer than `drive revisions` (content\n versions only).\nnotes:\n Requires the drive.activity.readonly scope (read-only). Accounts authorized\n before this command shipped must re-auth once: `gws-axi auth login --account\n `. Results are limited to activity visible to the authenticated\n account \u2014 items never shared with it contribute no history. Actors are\n reported best-effort; some (anonymous/deleted/unknown) cannot be identified.\n"; interface ParsedFlags { itemId: string; folder: boolean; since: string | undefined; until: string | undefined; actions: string[]; limit: number; } export declare function parseFlags(args: string[]): ParsedFlags; /** Build the `filter` string for the Activity query from time + action flags. */ export declare function buildFilter(flags: ParsedFlags): string; /** The primary action label for an activity's first action with a detail. */ export declare function primaryActionLabel(activity: Record): string; /** Best-effort actor identity from an activity's actors[]. */ export declare function primaryActor(activity: Record): string; /** * Best-effort target label from an activity's targets[]. Prefers the title, * but always keeps the item id reachable (ids-are-first-class): renders * " (<id>)" when both are present, the id alone when only it is. * driveItem.name has the form "items/<id>". */ export declare function primaryTarget(activity: Record<string, unknown>): string; export declare function driveActivityCommand(account: string, args: string[]): Promise<string>; export {};