import { GcpTrigger, HttpTrigger, KafkaTrigger, MqttTrigger, NatsTrigger, PostgresTrigger, SqsTrigger, WebsocketTrigger, EmailTrigger } from "../../../gen/types.gen.js";
import { Command } from "../../../deps.js";
type Trigger = {
    http: HttpTrigger;
    websocket: WebsocketTrigger;
    kafka: KafkaTrigger;
    nats: NatsTrigger;
    postgres: PostgresTrigger;
    mqtt: MqttTrigger;
    sqs: SqsTrigger;
    gcp: GcpTrigger;
    email: EmailTrigger;
};
type TriggerFile<K extends TriggerType> = Omit<Trigger[K], "path" | "workspace" | "edited_by" | "edited_at" | "error" | "last_server_ping" | "server_id">;
type TriggerType = keyof Trigger;
export declare function pushTrigger<K extends TriggerType>(triggerType: K, workspace: string, path: string, trigger: TriggerFile<K> | Trigger[K] | undefined, localTrigger: TriggerFile<K>): Promise<void>;
declare const command: Command<void, void, void, [import("../../../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType, import("../../../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType], void, void, void, Command<void, void, void, [], void, {
    number: number;
    integer: number;
    string: string;
    boolean: boolean;
    file: string;
}, void, undefined>>;
export default command;
//# sourceMappingURL=trigger.d.ts.map