import { Filter } from 'mongodb';
export declare const customStorageRouter: import("@trpc/server").TRPCBuiltRouter<{
    ctx: import(".././routes/index").Context;
    meta: import("trpc-to-openapi").OpenApiMeta;
    errorShape: import("@trpc/server").TRPCDefaultErrorShape;
    transformer: false;
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
    create: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            item: {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | {
                [x: string]: any;
                encryptedRecord: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                };
                fields: string[];
            };
        };
        output: boolean;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    createMany: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            items: {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | {
                [x: string]: any;
                encryptedRecord: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                };
                fields: string[];
            }[];
        };
        output: boolean;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    read: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            cursor?: string | undefined;
            limit?: number | undefined;
            query?: Record<string, any> | {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | undefined;
            encrypt?: boolean | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: {
            protected: string;
            iv: string;
            ciphertext: string;
            tag: string;
            aad?: string | undefined;
            recipients?: {
                header: {
                    alg: string;
                    iv: string;
                    tag: string;
                    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;
                };
                encrypted_key: string;
            }[] | undefined;
        } | {
            hasMore: boolean;
            records: {
                [x: string]: any;
                encryptedRecord: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                };
                fields: string[];
            }[];
            cursor?: string | undefined;
        };
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    count: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            query?: Filter<{
                [x: string]: any;
                encryptedRecord: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                };
                fields: string[];
                did: string;
                cursor: string;
                created: Date;
                modified: Date;
            }> | {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: number;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    update: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            update: {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | {
                [x: string]: any;
                encryptedRecord?: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                } | undefined;
                fields?: string[] | undefined;
            };
            query?: Filter<{
                [x: string]: any;
                encryptedRecord: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                };
                fields: string[];
                did: string;
                cursor: string;
                created: Date;
                modified: Date;
            }> | {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: number;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    delete: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            query?: Filter<{
                [x: string]: any;
                encryptedRecord: {
                    protected: string;
                    iv: string;
                    ciphertext: string;
                    tag: string;
                    aad?: string | undefined;
                    recipients?: {
                        header: {
                            alg: string;
                            iv: string;
                            tag: string;
                            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;
                        };
                        encrypted_key: string;
                    }[] | undefined;
                };
                fields: string[];
                did: string;
                cursor: string;
                created: Date;
                modified: Date;
            }> | {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        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;
                    };
                    encrypted_key: string;
                }[] | undefined;
            } | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: number | false;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
}>>;
export type CustomStorageRouter = typeof customStorageRouter;
//# sourceMappingURL=customStorage.d.ts.map