export declare const delegationCredentialRouter: import("@trpc/server/unstable-core-do-not-import").CreateRouterInner<import("@trpc/server/unstable-core-do-not-import").RootConfig<{
    ctx: import("../../../createContext").InnerContext;
    meta: object;
    errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
    transformer: {
        stringify: (object: any) => string;
        parse: <T = unknown>(string: string) => T;
        serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
        deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
        registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
        registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
        registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
        allowErrorProps: (...props: string[]) => void;
    };
}>, {
    list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
        input: void;
        output: ((Omit<{
            serviceAccountClientId: string | null;
            id: string;
            enabled: boolean;
            domain: string;
            organizationId: number;
            workspacePlatform: {
                name: string;
                id: number;
                slug: string;
            };
            createdAt: Date;
            updatedAt: Date;
            serviceAccountKey: import('../../../../../prisma-client').Prisma.JsonValue;
        }, "serviceAccountKey"> & {
            serviceAccountKey: undefined;
        }) | null)[];
    }>;
    update: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
        input: {
            id: string;
            domain: string;
            workspacePlatformSlug: string;
        };
        output: (Omit<{
            id: string;
            enabled: boolean;
            domain: string;
            organizationId: number;
            workspacePlatform: {
                name: string;
                slug: string;
            };
            createdAt: Date;
            updatedAt: Date;
        }, "serviceAccountKey"> & {
            serviceAccountKey: undefined;
        }) | null | undefined;
    }>;
    add: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
        input: {
            domain: string;
            serviceAccountKey: {
                client_id: string;
                private_key: string;
                client_email?: string | undefined;
                tenant_id?: string | undefined;
            } & {
                [k: string]: unknown;
            };
            workspacePlatformSlug: string;
        };
        output: (Omit<{
            id: string;
            enabled: boolean;
            domain: string;
            organizationId: number;
            createdAt: Date;
            updatedAt: Date;
            workspacePlatformId: number;
            serviceAccountKey: import('../../../../../prisma-client').Prisma.JsonValue;
        }, "serviceAccountKey"> & {
            serviceAccountKey: undefined;
        }) | null | undefined;
    }>;
    toggleEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
        input: {
            id: string;
            enabled: boolean;
        };
        output: (Omit<{
            id: string;
            enabled: boolean;
            domain: string;
            organizationId: number;
            workspacePlatform: {
                name: string;
                slug: string;
            };
            createdAt: Date;
            updatedAt: Date;
        }, "serviceAccountKey"> & {
            serviceAccountKey: undefined;
        }) | null;
    }>;
    delete: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
        input: {
            id: string;
        };
        output: {
            id: string;
        };
    }>;
    listWorkspacePlatforms: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
        input: void;
        output: {
            name: string;
            id: number;
            description: string;
            enabled: boolean;
            slug: string;
        }[];
    }>;
}>;
//# sourceMappingURL=_router.d.ts.map