import { Filter } from 'mongodb';
import { z } from 'zod';
export declare const customStorageRouter: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
    ctx: import(".././routes/index").Context;
    meta: import("trpc-to-openapi").OpenApiMeta;
    errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
    transformer: false;
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
    create: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            item: {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            } | z.objectInputType<{
                encryptedRecord: z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodArray<z.ZodString, "many">;
            }, z.ZodAny, "strip">;
        };
        output: boolean;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    createMany: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            items: {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            } | z.objectInputType<{
                encryptedRecord: z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodArray<z.ZodString, "many">;
            }, z.ZodAny, "strip">[];
        };
        output: boolean;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    read: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            query?: Record<string, any> | {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            cursor?: string | undefined;
            limit?: number | undefined;
            encrypt?: boolean | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: {
            iv: string;
            tag: string;
            protected: string;
            ciphertext: 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: z.objectOutputType<{
                encryptedRecord: z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodArray<z.ZodString, "many">;
            }, z.ZodAny, "strip">[];
            cursor?: string | undefined;
        };
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    count: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            query?: {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            } | Filter<z.objectOutputType<z.objectUtil.extendShape<{
                encryptedRecord: z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodArray<z.ZodString, "many">;
            }, {
                did: z.ZodString;
                cursor: z.ZodString;
                created: z.ZodDate;
                modified: z.ZodDate;
            }>, z.ZodAny, "strip">> | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: number;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    update: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            update: {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            } | z.objectInputType<{
                encryptedRecord: z.ZodOptional<z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, z.ZodAny, "strip">;
            query?: {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            } | Filter<z.objectOutputType<z.objectUtil.extendShape<{
                encryptedRecord: z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodArray<z.ZodString, "many">;
            }, {
                did: z.ZodString;
                cursor: z.ZodString;
                created: z.ZodDate;
                modified: z.ZodDate;
            }>, z.ZodAny, "strip">> | undefined;
            includeAssociatedDids?: boolean | undefined;
        };
        output: number;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
    delete: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            query?: {
                iv: string;
                tag: string;
                protected: string;
                ciphertext: 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;
            } | Filter<z.objectOutputType<z.objectUtil.extendShape<{
                encryptedRecord: z.ZodObject<{
                    protected: z.ZodString;
                    iv: z.ZodString;
                    ciphertext: z.ZodString;
                    tag: z.ZodString;
                    aad: z.ZodOptional<z.ZodString>;
                    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        header: z.ZodObject<{
                            alg: z.ZodString;
                            iv: z.ZodString;
                            tag: z.ZodString;
                            epk: z.ZodOptional<z.ZodObject<{
                                kty: z.ZodOptional<z.ZodString>;
                                crv: z.ZodOptional<z.ZodString>;
                                x: z.ZodOptional<z.ZodString>;
                                y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                                d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
                            }, "strip", z.ZodTypeAny, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }, {
                                kty?: string | undefined;
                                crv?: string | undefined;
                                x?: string | undefined;
                                y?: string | undefined;
                                n?: string | undefined;
                                d?: string | undefined;
                            }>>;
                            kid: z.ZodOptional<z.ZodString>;
                            apv: z.ZodOptional<z.ZodString>;
                            apu: z.ZodOptional<z.ZodString>;
                        }, "strip", z.ZodTypeAny, {
                            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;
                        }, {
                            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: z.ZodString;
                    }, "strip", z.ZodTypeAny, {
                        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;
                    }, {
                        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;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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;
                }, {
                    iv: string;
                    tag: string;
                    protected: string;
                    ciphertext: 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: z.ZodArray<z.ZodString, "many">;
            }, {
                did: z.ZodString;
                cursor: z.ZodString;
                created: z.ZodDate;
                modified: z.ZodDate;
            }>, z.ZodAny, "strip">> | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        output: number | false;
        meta: import("trpc-to-openapi").OpenApiMeta;
    }>;
}>>;
export type CustomStorageRouter = typeof customStorageRouter;
//# sourceMappingURL=customStorage.d.ts.map