import type { z } from "zod";
import type { DomainWideDelegationToggleEnabledSchema } from "./schema";
export default function toggleEnabledHandler({ ctx, input, }: {
    ctx: {
        user: {
            id: number;
            email: string;
            organizationId: number | null;
        };
    };
    input: z.infer<typeof DomainWideDelegationToggleEnabledSchema>;
}): Promise<(Omit<{
    id: string;
    enabled: boolean;
    organizationId: number;
    workspacePlatform: {
        name: string;
        slug: string;
    };
    createdAt: Date;
    updatedAt: Date;
    domain: string;
}, "serviceAccountKey"> & {
    serviceAccountKey: undefined;
}) | null>;
//# sourceMappingURL=toggleEnabled.handler.d.ts.map