import { type Query } from './match-query'; import { type Pattern } from './pattern'; import { type StructureType } from './structure-type'; import { type StructuredStatement } from './structured-statement'; export declare function getDeclarationGetter, Structure extends StructureType = StructureType>(getFn: (pattern: Pattern) => Declaration[]): (pattern: Pattern, query?: Query) => Declaration[];