import type { ArrayPath } from '../../../schema/actions/utils/types.js';
import type { Schema } from '../../../schema/index.js';
import { SchemaAction } from '../../../schema/index.js';
import { SubSchema } from './subSchema.js';
/**
 * @debt type "Type path as Path<SCHEMA> and return typed SubSchema"
 */
export declare class Finder<SCHEMA extends Schema = Schema> extends SchemaAction<SCHEMA> {
    static actionName: "finder";
    search(path: string): SubSchema[];
}
export declare const findSubSchemas: (schema: Schema, path: ArrayPath) => SubSchema[];
