import type * as schema from './getSchema'; export type ByTypeSourceObject = schema.Block | schema.Enumerator | schema.Field | schema.Property | schema.Attribute | schema.Assignment; export type ByTypeMatchObject = Exclude; export type ByTypeMatch = ByTypeMatchObject['type']; export type ByTypeOptions = { name?: string | RegExp; }; export type FindByBlock = Extract; export declare const findByType: (list: ByTypeSourceObject[], typeToMatch: Match, options?: ByTypeOptions) => FindByBlock | null; export declare const findAllByType: (list: ByTypeSourceObject[], typeToMatch: Match, options?: ByTypeOptions) => FindByBlock[];