import type { z } from "zod";
import type { DelegationCredentialCreateSchema } from "./schema";
export default function handler({ input, ctx, }: {
    input: z.infer<typeof DelegationCredentialCreateSchema>;
    ctx: {
        user: {
            id: number;
            organizationId: number | null;
        };
    };
}): Promise<(Omit<{
    id: string;
    enabled: boolean;
    domain: string;
    organizationId: number;
    createdAt: Date;
    updatedAt: Date;
    workspacePlatformId: number;
    serviceAccountKey: import('../../../../../prisma-client').Prisma.JsonValue;
    lastEnabledAt: Date | null;
    lastDisabledAt: Date | null;
}, "serviceAccountKey"> & {
    serviceAccountKey: undefined;
}) | null | undefined>;
//# sourceMappingURL=add.handler.d.ts.map