import { type WhookCronsDefinitionsService, type WhookCronsHandlersService, type WhookRouteTypedHandler, type WhookSchemaValidatorsService } from '@whook/whook'; import { type LogService } from 'common-services'; export declare const dateSchema: { readonly name: "Date"; readonly example: "2010-03-06T20:20:02.02Z"; readonly schema: { readonly type: "string"; readonly format: "date-time"; }; }; export declare const anyObjectSchema: { readonly name: "AnyObject"; readonly example: { readonly foo: "bar"; }; readonly schema: { readonly type: "object"; readonly additionalProperties: true; }; }; export declare const dateQueryParameter: { readonly name: "date"; readonly example: "2010-03-06T20:20:02.02Z"; readonly parameter: { readonly name: "date"; readonly in: "query"; readonly required: true; readonly schema: import("ya-json-schema-types").ExpressiveJSONSchema; }; }; export declare const definition: { readonly path: "/crons/{cronName}/run"; readonly method: "post"; readonly config: { readonly environments: ["local", "test"]; }; readonly operation: { readonly operationId: "postCronRun"; readonly description: "Allow to run crons on the fly for development or testing purposes."; readonly security: [{ readonly bearerAuth: ["admin"]; }]; readonly tags: ["system"]; readonly parameters: [{ readonly name: "cronName"; readonly in: "path"; readonly required: true; readonly schema: import("ya-json-schema-types").ExpressiveJSONSchema; }, import("ya-open-api-types").OpenAPIReference>]; readonly requestBody: { readonly required: true; readonly content: { readonly 'application/json': { readonly schema: import("ya-json-schema-types").ExpressiveJSONSchema; }; }; }; readonly responses: { readonly 204: { readonly description: "Cron run successfully!"; }; }; }; }; declare const _default: import("knifecycle").ServiceInitializer<{ CRONS_HANDLERS: WhookCronsHandlersService; CRONS_DEFINITIONS: WhookCronsDefinitionsService; schemaValidators: WhookSchemaValidatorsService; log: LogService; }, WhookRouteTypedHandler<{ requestBody: components["schemas"]["AnyObject"]; responses: { 204: object; }; parameters: { path: { cronName: components["schemas"]["String"]; }; query: { date: components["parameters"]["date"]; }; }; }, { readonly path: "/crons/{cronName}/run"; readonly method: "post"; readonly config: { readonly environments: ["local", "test"]; }; readonly operation: { readonly operationId: "postCronRun"; readonly description: "Allow to run crons on the fly for development or testing purposes."; readonly security: [{ readonly bearerAuth: ["admin"]; }]; readonly tags: ["system"]; readonly parameters: [{ readonly name: "cronName"; readonly in: "path"; readonly required: true; readonly schema: import("ya-json-schema-types").ExpressiveJSONSchema; }, import("ya-open-api-types").OpenAPIReference>]; readonly requestBody: { readonly required: true; readonly content: { readonly 'application/json': { readonly schema: import("ya-json-schema-types").ExpressiveJSONSchema; }; }; }; readonly responses: { readonly 204: { readonly description: "Cron run successfully!"; }; }; }; }>>; export default _default;