import { Filter } from 'mongodb';
export declare const customStorageRouter: 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;
}>, {
    create: 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>, {
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            item: {
                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: {
            item: {
                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>;
    createMany: 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>, {
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            items: {
                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: {
            items: {
                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>;
    read: 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>, {
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
            domain: string;
        }>, {
            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;
            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;
            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;
                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;
                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>, {
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            query?: {
                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;
            } | Filter<{
                [x: string]: any;
                did: 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[];
                cursor: string;
                created: Date;
                modified: Date;
            }> | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        _input_out: {
            query?: {
                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;
            } | Filter<{
                [x: string]: any;
                did: 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[];
                cursor: string;
                created: Date;
                modified: Date;
            }> | undefined;
            includeAssociatedDids: boolean;
        };
        _output_in: number;
        _output_out: number;
    }, 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>, {
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            query?: {
                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;
            } | Filter<{
                [x: string]: any;
                did: 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[];
                cursor: string;
                created: Date;
                modified: Date;
            }> | undefined;
            includeAssociatedDids?: boolean | undefined;
            update: {
                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;
                } | undefined;
                fields?: string[] | undefined;
            };
        };
        _input_out: {
            query?: {
                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;
            } | Filter<{
                [x: string]: any;
                did: 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[];
                cursor: string;
                created: Date;
                modified: Date;
            }> | undefined;
            includeAssociatedDids: boolean;
            update: {
                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;
                } | undefined;
                fields?: string[] | undefined;
            };
        };
        _output_in: number;
        _output_out: number;
    }, unknown>;
    delete: 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>, {
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            query?: {
                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;
            } | Filter<{
                [x: string]: any;
                did: 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[];
                cursor: string;
                created: Date;
                modified: Date;
            }> | undefined;
            includeAssociatedDids?: boolean | undefined;
        } | undefined;
        _input_out: {
            query?: {
                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;
            } | Filter<{
                [x: string]: any;
                did: 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[];
                cursor: string;
                created: Date;
                modified: Date;
            }> | undefined;
            includeAssociatedDids: boolean;
        };
        _output_in: number | false;
        _output_out: number | false;
    }, unknown>;
}>;
export type CustomStorageRouter = typeof customStorageRouter;
