import * as z from "zod/v3";
export type CustomEnvironment = {
    /**
     * Project that receives matching trigger requests.
     */
    projectId: string;
    /**
     * Stable custom environment ID that belongs to the destination project.
     */
    customEnvironmentId: string;
    /**
     * Route path on the linked project that receives forwarded trigger requests.
     */
    path?: string | undefined;
};
export type Branch = {
    /**
     * Project that receives matching trigger requests.
     */
    projectId: string;
    /**
     * Git branch used to select a preview deployment.
     */
    branch: string;
    /**
     * Route path on the linked project that receives forwarded trigger requests.
     */
    path?: string | undefined;
};
export type DefaultDeployment = {
    /**
     * Project that receives matching trigger requests.
     */
    projectId: string;
    /**
     * Route path on the linked project that receives forwarded trigger requests.
     */
    path?: string | undefined;
};
/**
 * A destination in the complete replacement set. Each destination targets the default deployment, a branch, or a custom environment.
 */
export type ConnectTriggerDestinationInput = Branch | CustomEnvironment | DefaultDeployment;
/** @internal */
export type CustomEnvironment$Outbound = {
    projectId: string;
    customEnvironmentId: string;
    path?: string | undefined;
};
/** @internal */
export declare const CustomEnvironment$outboundSchema: z.ZodType<CustomEnvironment$Outbound, z.ZodTypeDef, CustomEnvironment>;
export declare function customEnvironmentToJSON(customEnvironment: CustomEnvironment): string;
/** @internal */
export type Branch$Outbound = {
    projectId: string;
    branch: string;
    path?: string | undefined;
};
/** @internal */
export declare const Branch$outboundSchema: z.ZodType<Branch$Outbound, z.ZodTypeDef, Branch>;
export declare function branchToJSON(branch: Branch): string;
/** @internal */
export type DefaultDeployment$Outbound = {
    projectId: string;
    path?: string | undefined;
};
/** @internal */
export declare const DefaultDeployment$outboundSchema: z.ZodType<DefaultDeployment$Outbound, z.ZodTypeDef, DefaultDeployment>;
export declare function defaultDeploymentToJSON(defaultDeployment: DefaultDeployment): string;
/** @internal */
export type ConnectTriggerDestinationInput$Outbound = Branch$Outbound | CustomEnvironment$Outbound | DefaultDeployment$Outbound;
/** @internal */
export declare const ConnectTriggerDestinationInput$outboundSchema: z.ZodType<ConnectTriggerDestinationInput$Outbound, z.ZodTypeDef, ConnectTriggerDestinationInput>;
export declare function connectTriggerDestinationInputToJSON(connectTriggerDestinationInput: ConnectTriggerDestinationInput): string;
//# sourceMappingURL=connecttriggerdestinationinput.d.ts.map