import type { ApiItem } from '@redocly/api-docs'; /** Identifies an OpenAPI operation item in the docs navigation tree. */ export type ItemMatch = { pointer?: string; sourceId?: string; }; /** * Finds the first {@link ApiItem} whose content meta matches `pointer` or `sourceId`. * * @param items - Navigation items (may contain nested `items`). * @param match - At least one of `pointer` or `sourceId` should be set for a match. * @returns The matching item, or `undefined` if none match or the match object is empty. */ export declare function findApiItem(items: ApiItem[], match: ItemMatch): ApiItem | undefined; //# sourceMappingURL=find-api-item.d.ts.map