/** * OptionalBooleanQuery * * Factory function that creates a NestJS query decorator for boolean flags. * It automatically applies the `ParseOptionalBooleanPipe`, so controller methods * receive properly typed booleans instead of raw strings. * * This prevents controllers from having to manually parse query string values * and keeps intent clear at the method signature level. * * @param {string} propertyName - The name of the query parameter to bind. * @returns {ParameterDecorator} - A NestJS parameter decorator for controller methods. */ export declare function OptionalBooleanQuery(propertyName: string): ParameterDecorator; /** * ApiOptionalBooleanQuery * * Swagger documentation helper for optional boolean query parameters. * By applying this decorator, the parameter will appear in API documentation * with clear details, marked as optional, and defaulting to `false`. * * This ensures consumers of the API understand that the flag exists, * what it controls, and that its omission is safe. * * @param {string} propertyName - The query parameter name to display in Swagger docs. * @param {string} [description] - Optional human-readable explanation for the parameter. * @returns {MethodDecorator & ClassDecorator} - A combined decorator for use on routes or controllers. */ export declare function ApiOptionalBooleanQuery(propertyName: string, description?: string): MethodDecorator & ClassDecorator;