import { type LogService } from 'common-services'; import { type WhookRouteModule, type WhookAPIComponentsDeclarationModule } from '../types/routes.js'; import { type WhookPluginsService, type WhookPluginName } from '../services/WHOOK_RESOLVED_PLUGINS.js'; import { type WhookDeclarations, type WhookDeclaration } from '../types/declarations.js'; import { type WhookCronModule } from '../types/crons.js'; import { type WhookConsumerModule } from '../types/consumers.js'; import { type WhookCommandModule } from '../types/commands.js'; import { type WhookTransformerModule } from '../types/transformers.js'; import { type WhookHandlerWrapperModule } from '../types/wrappers.js'; export declare function fileIsPatternIgnored(ignoredFilePatterns: string[] | undefined, file: string): boolean; export declare function matchFileWithPattern(fileNamePatterns: [string, ...string[]], file: string): string | undefined; export declare const ASIDE_DECLARATIONS_SUFFIXES: { readonly schema: "Schema"; readonly parameter: "Parameter"; readonly header: "Header"; readonly requestBody: "RequestBody"; readonly response: "Response"; readonly callback: "Callback"; }; export declare const ASIDE_DECLARATIONS_PROPERTIES: { readonly schema: "schemas"; readonly parameter: "parameters"; readonly header: "headers"; readonly requestBody: "requestBodies"; readonly response: "responses"; readonly callback: "callbacks"; }; export declare function pickDeclarationsContents(declarations: WhookDeclarations, type: T): Record['content']>; export declare function collectModuleDeclarationsOfType({ log }: { log: LogService; }, context: { pluginName: WhookPluginName; url: `file:///${string}`; }, module: WhookAPIComponentsDeclarationModule | WhookRouteModule | WhookCronModule | WhookConsumerModule | WhookCommandModule | WhookTransformerModule | WhookHandlerWrapperModule, declarationsTypes: T[]): WhookDeclaration[]; export declare function shouldRegisterDeclaration({ log, WHOOK_PLUGINS, }: { log: LogService; WHOOK_PLUGINS: WhookPluginsService; }, declarations: Partial, type: T, declaration: WhookDeclarations[T][string], name: string): boolean;