import * as Generator from '@postxl/generator';
import * as Schema from '@postxl/schema';
import { ContextResult, DiscriminatedUnionDecoderDefinition, ModelResult } from './decoders.generator';
type GeneratorParams = {
    context: ContextResult;
    model: ModelResult;
    discriminatedUnion: DiscriminatedUnionDecoderDefinition;
    field: Schema.FieldDiscriminatedUnion;
    imports: Generator.ImportGenerator;
};
export declare function generateDiscriminatedUnionDecoder({ context, model, discriminatedUnion, }: Omit<GeneratorParams, 'imports' | 'field'>): string;
export {};
