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