export declare const userRouter: 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;
}>, {
    getDids: import("@trpc/server").BuildProcedure<"query", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: void;
        _input_out: void;
        _output_in: string[];
        _output_out: string[];
    }, unknown>;
    addDid: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            presentation: string | {
                [x: string]: any;
                id?: string | undefined;
                verifiableCredential?: {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                }[] | undefined;
                holder?: string | undefined;
                type: string | [string, ...string[]];
                '@context': (string | Record<string, any>)[];
                proof: {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                } | {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                }[];
            };
        };
        _input_out: {
            presentation: string | {
                [x: string]: any;
                id?: string | undefined;
                verifiableCredential?: {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                }[] | undefined;
                holder?: string | undefined;
                type: string | [string, ...string[]];
                '@context': (string | Record<string, any>)[];
                proof: {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                } | {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                }[];
            };
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
    removeDid: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            presentation: string | {
                [x: string]: any;
                id?: string | undefined;
                verifiableCredential?: {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                }[] | undefined;
                holder?: string | undefined;
                type: string | [string, ...string[]];
                '@context': (string | Record<string, any>)[];
                proof: {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                } | {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                }[];
            };
        };
        _input_out: {
            presentation: string | {
                [x: string]: any;
                id?: string | undefined;
                verifiableCredential?: {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                }[] | undefined;
                holder?: string | undefined;
                type: string | [string, ...string[]];
                '@context': (string | Record<string, any>)[];
                proof: {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                } | {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                }[];
            };
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
    setPrimaryDid: import("@trpc/server").BuildProcedure<"mutation", {
        _config: import("@trpc/server").RootConfig<{
            ctx: import("@routes").Context;
            meta: import("trpc-openapi").OpenApiMeta;
            errorShape: import("@trpc/server").DefaultErrorShape;
            transformer: import("@trpc/server").DefaultDataTransformer;
        }>;
        _meta: import("trpc-openapi").OpenApiMeta;
        _ctx_out: import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<import("@trpc/server").Overwrite<Omit<import("@routes").Context, never>, {
            domain: string;
            user?: {
                did: string;
                isChallengeValid: boolean;
            } | undefined;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>, {
            user: {
                did: string;
                isChallengeValid: boolean;
            };
            domain: string;
        }>;
        _input_in: {
            presentation: string | {
                [x: string]: any;
                id?: string | undefined;
                verifiableCredential?: {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                }[] | undefined;
                holder?: string | undefined;
                type: string | [string, ...string[]];
                '@context': (string | Record<string, any>)[];
                proof: {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                } | {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                }[];
            };
        };
        _input_out: {
            presentation: string | {
                [x: string]: any;
                id?: string | undefined;
                verifiableCredential?: {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                    expirationDate?: string | undefined;
                    credentialStatus?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    credentialSchema?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    }[] | undefined;
                    refreshService?: {
                        [x: string]: any;
                        type: string;
                        id: string;
                    } | undefined;
                    type: [string, ...string[]];
                    '@context': (string | Record<string, any>)[];
                    issuer: string | {
                        [x: string]: any;
                        type?: string | [string, ...string[]] | undefined;
                        id?: string | undefined;
                        name?: string | undefined;
                        url?: string | undefined;
                        phone?: string | undefined;
                        description?: string | undefined;
                        endorsement?: any[] | undefined;
                        image?: string | {
                            caption?: string | undefined;
                            type: string;
                            id: string;
                        } | undefined;
                        email?: string | undefined;
                        address?: {
                            addressCountry?: string | undefined;
                            addressCountryCode?: string | undefined;
                            addressRegion?: string | undefined;
                            addressLocality?: string | undefined;
                            streetAddress?: string | undefined;
                            postOfficeBoxNumber?: string | undefined;
                            postalCode?: string | undefined;
                            geo?: {
                                type: string | [string, ...string[]];
                                latitude: number;
                                longitude: number;
                            } | undefined;
                            type: string | [string, ...string[]];
                        } | undefined;
                        otherIdentifier?: {
                            type: string | [string, ...string[]];
                            identifier: string;
                            identifierType: string;
                        }[] | undefined;
                        official?: string | undefined;
                        parentOrg?: any;
                        familyName?: string | undefined;
                        givenName?: string | undefined;
                        additionalName?: string | undefined;
                        patronymicName?: string | undefined;
                        honorificPrefix?: string | undefined;
                        honorificSuffix?: string | undefined;
                        familyNamePrefix?: string | undefined;
                        dateOfBirth?: string | undefined;
                    };
                    issuanceDate: string;
                    credentialSubject: {
                        [x: string]: any;
                        id?: string | undefined;
                    } | {
                        [x: string]: any;
                        id?: string | undefined;
                    }[];
                    proof: {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    } | {
                        [x: string]: any;
                        challenge?: string | undefined;
                        domain?: string | undefined;
                        nonce?: string | undefined;
                        jws?: string | undefined;
                        type: string;
                        created: string;
                        proofPurpose: string;
                        verificationMethod: string;
                    }[];
                }[] | undefined;
                holder?: string | undefined;
                type: string | [string, ...string[]];
                '@context': (string | Record<string, any>)[];
                proof: {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                } | {
                    [x: string]: any;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                }[];
            };
        };
        _output_in: boolean;
        _output_out: boolean;
    }, unknown>;
}>;
export type UserRouter = typeof userRouter;
//# sourceMappingURL=user.d.ts.map