/** * Extract global API URL option from command line arguments. * Parses the global --api-url option that can be used to override the default * signageOS REST API endpoint for all CLI operations. This is useful for testing * against different environments or custom API deployments. * * @returns The API URL if specified, undefined otherwise * * @example * ```bash * # Use custom API URL * sos --api-url https://api.custom.signageos.io applet list * ``` */ export declare function getGlobalApiUrl(): string | undefined; /** * Extract global profile option from command line arguments. * Parses the global --profile option that specifies which authentication profile * to use for CLI operations. Profiles allow management of multiple signageOS * environments or accounts from the same machine. * * @returns The profile name if specified, falls back to default profile * * @example * ```bash * # Use specific profile * sos --profile production applet list * * # Use staging profile * sos --profile staging device connect * ``` */ export declare function getGlobalProfile(): string; /** * Validate that --profile and --api-url are not used together. * These options are mutually exclusive: --profile selects a fully pre-configured * connection from ~/.sosrc (which already includes an api-url), while --api-url * overrides the endpoint directly (implying the default profile). * * @throws {Error} When both --profile and --api-url are present on the command line * * @example * ```bash * # Valid: only --profile * sos --profile staging login * * # Valid: only --api-url * sos --api-url https://custom-api.com login * * # Invalid: both together * sos --profile staging --api-url https://custom-api.com login * ``` */ export declare function validateProfileAndApiUrl(): void;