import { InterfaceTypeOptions } from '@nestjs/graphql'; import { Decorator } from './types'; export type VariantOptions = Omit & { /** * The name of the column to use as the sum type discriminator */ tagColumn?: string; tagColumnAlias?: string; }; /** * Marks an object type as a variant for modeling sum types * * @extends InterfaceType * @extends TableExtension * * @param options Standard nestjs object type options plus a required `tagColumn` used as the sum type discriminator */ export declare function Variant(options?: VariantOptions): Decorator; /** * Marks an object type as a variant for modeling sum types, implies `Table` * * @extends InterfaceType * @extends TableExtension * * @param name The name of the table which backs this object type useful when the object typename and table do not match * @param options Standard nestjs object type options plus a required `tagColumn` used as the sum type discriminator */ export declare function Variant(name: string, options?: VariantOptions): Decorator;