/** * OptionalIncludeDraftsQuery * * NestJS parameter decorator for extracting the `includeDrafts` query parameter * from incoming requests. The decorator applies the `ParseOptionalBooleanPipe` * internally (through `OptionalBooleanQuery`) to ensure the controller receives * a properly typed boolean rather than a raw string. * * This avoids boilerplate parsing logic inside controllers and makes the * method signature self-documenting — any reader can immediately see that * `includeDrafts` is expected as a boolean flag. * * @returns {ParameterDecorator} - A query parameter decorator for use on controller methods. */ export declare function OptionalIncludeDraftsQuery(): ParameterDecorator; /** * ApiOptionalIncludeDraftsQuery * * Swagger documentation decorator for the `includeDrafts` query parameter. * This marks the parameter as optional, provides a clear description, and * specifies a default value of `false`. Adding this ensures that API * consumers can see the parameter in the generated docs and understand * its behavior without digging into code. * * @returns {MethodDecorator & ClassDecorator} - A decorator usable on routes or controllers * to enhance Swagger-generated documentation. */ export declare function ApiOptionalIncludeDraftsQuery(): MethodDecorator & ClassDecorator;