import type { CodeSamplePanelItem, ContentNode, ResponseCodeItem } from '@redocly/api-docs'; type PanelEntry = { kind: string; responseCodes?: ResponseCodeItem[]; schemaId?: string; }; export declare function isCodeSamplePanelItem(entry: PanelEntry): entry is CodeSamplePanelItem; /** * Depth-first search of container nodes: inspects each container's panels first, * then recurses into `children`. * * @param nodes - Markdoc content nodes (typically item `content.children`). * @param pick - Returns a value when a panel entry matches; `undefined` skips. * @returns The first non-undefined result from `pick`, or `undefined`. */ export declare function findPanelEntry(nodes: ContentNode[], pick: (entry: PanelEntry) => T | undefined): T | undefined; export {}; //# sourceMappingURL=openapi-panel-entry.d.ts.map