import type { ApiKeyScope } from '@n8n/permissions'; interface EndpointEntry { method: string; path: string; operationId: string; requestSchema?: Record; } interface ResourceInfo { operations: string[]; endpoints: EndpointEntry[]; } interface FilterInfo { description: string; example?: string; values?: string[]; } export interface DiscoverResponse { scopes: ApiKeyScope[]; resources: Record; filters: Record; specUrl: string; } export interface DiscoverOptions { includeSchemas?: boolean; resource?: string; operation?: string; } export declare function buildDiscoverResponse(callerScopes: ApiKeyScope[], options?: DiscoverOptions): Promise; export declare function _resetCache(): void; export {};