export declare const indexRouter: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
    ctx: import("@routes").Context;
    meta: import("trpc-openapi").OpenApiMeta;
    errorShape: import("@trpc/server").DefaultErrorShape;
    transformer: import("@trpc/server").DefaultDataTransformer;
}>, {
    get: import("@trpc/server").BuildProcedure<"query", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            sort?: "newestFirst" | "oldestFirst" | undefined;
            query?: Record<string, any> | {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | undefined;
            cursor?: string | undefined;
            limit?: number | undefined;
            encrypt?: boolean | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        _input_out: {
            query?: Record<string, any> | {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | undefined;
            cursor?: string | undefined;
            sort: "newestFirst" | "oldestFirst";
            limit: number;
            encrypt: boolean;
            includeAssociatedDids: boolean;
        };
        _output_in: {
            aad?: string | undefined;
            recipients?: {
                header: {
                    epk?: {
                        kty?: string | undefined;
                        crv?: string | undefined;
                        x?: string | undefined;
                        y?: string | undefined;
                        n?: string | undefined;
                        d?: string | undefined;
                    } | undefined;
                    kid?: string | undefined;
                    apv?: string | undefined;
                    apu?: string | undefined;
                    alg: string;
                    iv: string;
                    tag: string;
                };
                encrypted_key: string;
            }[] | undefined;
            iv: string;
            tag: string;
            protected: string;
            ciphertext: string;
        } | {
            cursor?: string | undefined;
            hasMore: boolean;
            records: {
                [x: string]: any;
                id: string;
                encryptedRecord: {
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg: string;
                            iv: string;
                            tag: string;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: string;
                };
                fields: string[];
            }[];
        };
        _output_out: {
            aad?: string | undefined;
            recipients?: {
                header: {
                    epk?: {
                        kty?: string | undefined;
                        crv?: string | undefined;
                        x?: string | undefined;
                        y?: string | undefined;
                        n?: string | undefined;
                        d?: string | undefined;
                    } | undefined;
                    kid?: string | undefined;
                    apv?: string | undefined;
                    apu?: string | undefined;
                    alg: string;
                    iv: string;
                    tag: string;
                };
                encrypted_key: string;
            }[] | undefined;
            iv: string;
            tag: string;
            protected: string;
            ciphertext: string;
        } | {
            cursor?: string | undefined;
            hasMore: boolean;
            records: {
                [x: string]: any;
                id: string;
                encryptedRecord: {
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg: string;
                            iv: string;
                            tag: string;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: string;
                };
                fields: string[];
            }[];
        };
    }, unknown>;
    count: import("@trpc/server").BuildProcedure<"query", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            query?: Record<string, any> | {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | undefined;
            encrypt?: boolean | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        _input_out: {
            query?: Record<string, any> | {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | undefined;
            encrypt: boolean;
            includeAssociatedDids: boolean;
        };
        _output_in: number | {
            aad?: string | undefined;
            recipients?: {
                header: {
                    epk?: {
                        kty?: string | undefined;
                        crv?: string | undefined;
                        x?: string | undefined;
                        y?: string | undefined;
                        n?: string | undefined;
                        d?: string | undefined;
                    } | undefined;
                    kid?: string | undefined;
                    apv?: string | undefined;
                    apu?: string | undefined;
                    alg: string;
                    iv: string;
                    tag: string;
                };
                encrypted_key: string;
            }[] | undefined;
            iv: string;
            tag: string;
            protected: string;
            ciphertext: string;
        };
        _output_out: number | {
            aad?: string | undefined;
            recipients?: {
                header: {
                    epk?: {
                        kty?: string | undefined;
                        crv?: string | undefined;
                        x?: string | undefined;
                        y?: string | undefined;
                        n?: string | undefined;
                        d?: string | undefined;
                    } | undefined;
                    kid?: string | undefined;
                    apv?: string | undefined;
                    apu?: string | undefined;
                    alg: string;
                    iv: string;
                    tag: string;
                };
                encrypted_key: string;
            }[] | undefined;
            iv: string;
            tag: string;
            protected: string;
            ciphertext: string;
        };
    }, unknown>;
    add: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            record: {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | {
                [x: string]: any;
                encryptedRecord: {
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg: string;
                            iv: string;
                            tag: string;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: string;
                };
                fields: string[];
            };
        };
        _input_out: {
            record: {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | {
                [x: string]: any;
                encryptedRecord: {
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg: string;
                            iv: string;
                            tag: string;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: string;
                };
                fields: string[];
            };
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
    addMany: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            records: {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | {
                [x: string]: any;
                encryptedRecord: {
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg: string;
                            iv: string;
                            tag: string;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: string;
                };
                fields: string[];
            }[];
        };
        _input_out: {
            records: {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | {
                [x: string]: any;
                encryptedRecord: {
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg: string;
                            iv: string;
                            tag: string;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: string;
                };
                fields: string[];
            }[];
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
    update: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            id: string;
            updates: {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | {
                [x: string]: any;
                id?: string | undefined;
                encryptedRecord?: {
                    aad?: string | undefined;
                    recipients?: {
                        header?: {
                            iv?: string | undefined;
                            tag?: string | undefined;
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg?: string | undefined;
                        } | undefined;
                        encrypted_key?: string | undefined;
                    }[] | undefined;
                    iv?: string | undefined;
                    tag?: string | undefined;
                    protected?: string | undefined;
                    ciphertext?: string | undefined;
                } | undefined;
                fields?: string[] | undefined;
            };
        };
        _input_out: {
            id: string;
            updates: {
                aad?: string | undefined;
                recipients?: {
                    header: {
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                        alg: string;
                        iv: string;
                        tag: string;
                    };
                    encrypted_key: string;
                }[] | undefined;
                iv: string;
                tag: string;
                protected: string;
                ciphertext: string;
            } | {
                [x: string]: any;
                id?: string | undefined;
                encryptedRecord?: {
                    aad?: string | undefined;
                    recipients?: {
                        header?: {
                            iv?: string | undefined;
                            tag?: string | undefined;
                            epk?: {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            } | undefined;
                            kid?: string | undefined;
                            apv?: string | undefined;
                            apu?: string | undefined;
                            alg?: string | undefined;
                        } | undefined;
                        encrypted_key?: string | undefined;
                    }[] | undefined;
                    iv?: string | undefined;
                    tag?: string | undefined;
                    protected?: string | undefined;
                    ciphertext?: string | undefined;
                } | undefined;
                fields?: string[] | undefined;
            };
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
    remove: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            id: string;
        };
        _input_out: {
            id: string;
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
    removeAll: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: void;
        _input_out: void;
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
}>;
export type IndexRouter = typeof indexRouter;
//# sourceMappingURL=indexPlane.d.ts.map