import type { UnknownObject } from '@scalar/types/utils';
import type { AnyApiDefinitionFormat, FilterResult } from '../types/index.js';
export type FilterCallback = (schema: UnknownObject) => boolean;
/**
 * Filter the specification based on the callback
 */
export declare function filter(specification: AnyApiDefinitionFormat, callback: FilterCallback): FilterResult;
//# sourceMappingURL=filter.d.ts.map