/** * A drive path as the server reads it: `aidrive:///a/b` (how attachments * arrive, in any case), the sandbox mount `/mnt/aidrive/a/b` and * `/aidrive/a/b` all mean `/a/b`. Anything else comes back unchanged. */ export declare function drivePathSpelling(value: string): string; /** * The operands a caller typed. A bare `true` is the value a flag that takes * none (`--yes true`) leaves behind, which Commander hands over as an * operand; read as a path it became a folder named "true". A bare `false` * is kept: it contradicts the flag that was set, so it must not vanish. */ export declare function bareOperands(operands: readonly string[]): string[]; /** * Fill a drive action's parameters from its bare operands. Commander keeps * the operands but maps none of them, so `gsk drive ls /Reports` reached the * server without the path the caller typed. A parameter already given as a * flag keeps its value and the operands fill the rest in order. Where two * parameters differ in kind, each operand is read by its shape: a `/folder` * is the folder searched or the target folder, and for find and search the * other words are the query (`true` and `false` included: they are text * there). Drive paths are read as the server reads them. An operand left * over is refused: dropping it would act on part of what was asked. */ export declare function aidriveOperandArgs(action: string, operands: readonly string[], args: Record): { filled: Record; error?: string; }; //# sourceMappingURL=aidrive-operands.d.ts.map