import { type OptionalKind, type StructureKind } from 'ts-morph'; import { type Pattern } from './pattern'; import { type StructureType } from './structure-type'; import { type StructuredStatement } from './structured-statement'; export declare function getDeclarationCreator, Structure extends OptionalKind> = OptionalKind>, CommonStructure extends Partial & { kind: StructureKind; } = Partial & { kind: StructureKind; }>(common: CommonStructure, { position }?: { position?: number | null; }): (pattern: Pattern, structures: Structure | Structure[]) => void;