/** * Shared utilities for PDP (Product Detail Page) commands. * * - resolveProductId: Resolve a product identifier (UUID or handle) to an ID * - parseReorderArgs: Parse handle:position pairs for section reordering * - resolveTranslateMode: Determine translate operation from CLI options */ /** * Resolves a product identifier (UUID or handle) to a product ID. * * - If the value matches a UUID v4 prefix pattern, return as-is. * - Otherwise, look up by handle via the products list API. */ export declare function resolveProductId(identifier: string): Promise; /** * Parses handle:position pairs for section reordering. * * Each argument must match `^[a-z0-9-]+:\d+$` with position >= 1. */ export declare function parseReorderArgs(args: string[]): Array<{ handle: string; position: number; }>; /** * Determines the translate operation mode from CLI options. */ export declare function resolveTranslateMode(options: { list?: boolean; delete?: boolean; lang?: string; title?: string; [key: string]: unknown; }): 'list' | 'set' | 'delete'; //# sourceMappingURL=utils.d.ts.map