export interface QueryParamOptions { name: string; transform?: ((...allParamValues: any[]) => any) | null; validators?: PropertyDecorator[]; } /** * Creates a parameter decorator that extracts and processes a query parameter from an API Gateway event. * * This decorator allows you to: * 1. Extract a specific query parameter by name from the request * 2. Optionally transform the parameter value (e.g., convert string to number) * 3. Apply validation to ensure the parameter meets requirements * * @param options Configuration options for the query parameter * @param options.name The name of the query parameter to extract * @param options.transform Optional function to transform the parameter value (e.g., parseInt) * @param options.validators Optional array of validators to apply to the parameter * * @returns A parameter decorator that extracts and processes the specified query parameter * * @example * // Extract and convert 'age' query parameter to a number * @queryParam({name: 'age', transform: (val) => parseInt(val, 10)}) age: number */ export declare function queryParam(options: QueryParamOptions): any;