import * as Generator from '@postxl/generator';
import { Field } from '@postxl/schema';
import { ContextResult, ModelResult } from './decoders.generator';
import { RawDecoder, Transformer } from './field-decoder.helper';
type FlattenedFieldDecoderParams<T extends Field = Field> = {
    field: T;
    model: ModelResult;
    context: ContextResult;
    imports: Generator.ImportGenerator;
    enforceNullable: boolean;
};
export type FlattenedFieldDecoderElements = {
    rawDecoder: RawDecoder;
    transformer?: Transformer;
};
export declare function getFieldElements(params: FlattenedFieldDecoderParams): FlattenedFieldDecoderElements;
export {};
