export declare const integrationsRouter: import("@trpc/server").TRPCBuiltRouter<{
    ctx: import(".././routes/index").Context;
    meta: import(".././routes/index").RouteMetadata;
    errorShape: import("@trpc/server").TRPCDefaultErrorShape;
    transformer: true;
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
    addIntegration: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            name: string;
            description?: string | undefined;
            whitelistedDomains?: string[] | undefined;
            guideType?: string | undefined;
        };
        output: string;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getIntegration: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            id: string;
        };
        output: {
            id: string;
            name: string;
            publishableKey: string;
            whitelistedDomains: string[];
            status: "active" | "setup" | "paused";
            description?: string | undefined;
            guideType?: string | undefined;
            guideState?: Record<string, any> | undefined;
            createdAt?: string | undefined;
            updatedAt?: string | undefined;
        } | undefined;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getIntegrations: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            limit?: number | undefined;
            cursor?: string | undefined;
            query?: {
                id?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                name?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                description?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                status?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                guideType?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
            } | undefined;
        } | undefined;
        output: {
            hasMore: boolean;
            records: {
                id: string;
                name: string;
                publishableKey: string;
                whitelistedDomains: string[];
                status: "active" | "setup" | "paused";
                description?: string | undefined;
                guideType?: string | undefined;
                guideState?: Record<string, any> | undefined;
                createdAt?: string | undefined;
                updatedAt?: string | undefined;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    countIntegrations: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            query?: {
                id?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                name?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                description?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                status?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                guideType?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
            } | undefined;
        } | undefined;
        output: number;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    updateIntegration: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            id: string;
            updates: {
                name?: string | undefined;
                description?: string | undefined;
                whitelistedDomains?: string[] | undefined;
                rotatePublishableKey?: boolean | undefined;
                status?: "active" | "setup" | "paused" | undefined;
                guideType?: string | undefined;
                guideState?: Record<string, any> | undefined;
            };
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    deleteIntegration: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            id: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
}>>;
export type IntegrationsRouter = typeof integrationsRouter;
//# sourceMappingURL=integrations.d.ts.map