export declare const contractsRouter: import("@trpc/server").TRPCBuiltRouter<{
    ctx: import(".././routes/index").Context;
    meta: import(".././routes/index").RouteMetadata;
    errorShape: import("@trpc/server").TRPCDefaultErrorShape;
    transformer: true;
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
    createConsentFlowContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            contract: {
                read?: {
                    anonymize?: boolean | undefined;
                    credentials?: {
                        categories?: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }> | undefined;
                    } | undefined;
                    personal?: Record<string, {
                        required: boolean;
                        defaultEnabled?: boolean | undefined;
                    }> | undefined;
                } | undefined;
                write?: {
                    credentials?: {
                        categories?: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }> | undefined;
                    } | undefined;
                    personal?: Record<string, {
                        required: boolean;
                        defaultEnabled?: boolean | undefined;
                    }> | undefined;
                } | undefined;
            };
            name: string;
            subtitle?: string | undefined;
            description?: string | undefined;
            reasonForAccessing?: string | undefined;
            needsGuardianConsent?: boolean | undefined;
            redirectUrl?: string | undefined;
            frontDoorBoostUri?: string | undefined;
            image?: string | undefined;
            expiresAt?: string | undefined;
            autoboosts?: {
                boostUri: string;
                signingAuthority: {
                    endpoint: string;
                    name: string;
                };
            }[] | undefined;
            writers?: string[] | undefined;
        };
        output: string;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getConsentFlowContract: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            uri: string;
        };
        output: {
            contract: {
                read: {
                    credentials: {
                        categories: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }>;
                    };
                    personal: Record<string, {
                        required: boolean;
                        defaultEnabled?: boolean | undefined;
                    }>;
                    anonymize?: boolean | undefined;
                };
                write: {
                    credentials: {
                        categories: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }>;
                    };
                    personal: Record<string, {
                        required: boolean;
                        defaultEnabled?: boolean | undefined;
                    }>;
                };
            };
            owner: {
                profileId: string;
                displayName: string;
                shortBio: string;
                bio: string;
                did: string;
                isPrivate?: boolean | undefined;
                profileVisibility?: "public" | "connections_only" | "private" | undefined;
                showEmail?: boolean | undefined;
                allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                email?: string | undefined;
                image?: string | undefined;
                heroImage?: string | undefined;
                websiteLink?: string | undefined;
                isServiceProfile?: boolean | undefined;
                type?: string | undefined;
                notificationsWebhook?: string | undefined;
                display?: {
                    backgroundColor?: string | undefined;
                    backgroundImage?: string | undefined;
                    fadeBackgroundImage?: boolean | undefined;
                    repeatBackgroundImage?: boolean | undefined;
                    fontColor?: string | undefined;
                    accentColor?: string | undefined;
                    accentFontColor?: string | undefined;
                    idBackgroundImage?: string | undefined;
                    fadeIdBackgroundImage?: boolean | undefined;
                    idBackgroundColor?: string | undefined;
                    repeatIdBackgroundImage?: boolean | undefined;
                } | undefined;
                highlightedCredentials?: string[] | undefined;
                role?: string | undefined;
                dob?: string | undefined;
                country?: string | undefined;
                approved?: boolean | undefined;
            };
            name: string;
            uri: string;
            createdAt: string;
            updatedAt: string;
            subtitle?: string | undefined;
            description?: string | undefined;
            reasonForAccessing?: string | undefined;
            image?: string | undefined;
            needsGuardianConsent?: boolean | undefined;
            redirectUrl?: string | undefined;
            frontDoorBoostUri?: string | undefined;
            expiresAt?: string | undefined;
            autoBoosts?: string[] | undefined;
            writers?: {
                profileId: string;
                displayName: string;
                shortBio: string;
                bio: string;
                did: string;
                isPrivate?: boolean | undefined;
                profileVisibility?: "public" | "connections_only" | "private" | undefined;
                showEmail?: boolean | undefined;
                allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                email?: string | undefined;
                image?: string | undefined;
                heroImage?: string | undefined;
                websiteLink?: string | undefined;
                isServiceProfile?: boolean | undefined;
                type?: string | undefined;
                notificationsWebhook?: string | undefined;
                display?: {
                    backgroundColor?: string | undefined;
                    backgroundImage?: string | undefined;
                    fadeBackgroundImage?: boolean | undefined;
                    repeatBackgroundImage?: boolean | undefined;
                    fontColor?: string | undefined;
                    accentColor?: string | undefined;
                    accentFontColor?: string | undefined;
                    idBackgroundImage?: string | undefined;
                    fadeIdBackgroundImage?: boolean | undefined;
                    idBackgroundColor?: string | undefined;
                    repeatIdBackgroundImage?: boolean | undefined;
                } | undefined;
                highlightedCredentials?: string[] | undefined;
                role?: string | undefined;
                dob?: string | undefined;
                country?: string | undefined;
                approved?: boolean | undefined;
            }[] | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getConsentFlowContracts: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            cursor?: string | undefined;
            sort?: string | undefined;
            query?: {
                read?: {
                    anonymize?: boolean | undefined;
                    credentials?: {
                        categories?: Record<string, {
                            required?: boolean | undefined;
                        }> | undefined;
                    } | undefined;
                    personal?: Record<string, {
                        required?: boolean | undefined;
                    }> | undefined;
                } | undefined;
                write?: {
                    credentials?: {
                        categories?: Record<string, {
                            required?: boolean | undefined;
                        }> | undefined;
                    } | undefined;
                    personal?: Record<string, {
                        required?: boolean | undefined;
                    }> | undefined;
                } | undefined;
            } | undefined;
            limit?: number | undefined;
        } | undefined;
        output: {
            hasMore: boolean;
            records: {
                name: string;
                createdAt: string;
                uri: string;
                updatedAt: string;
                contract: {
                    read: {
                        credentials: {
                            categories: Record<string, {
                                required: boolean;
                                defaultEnabled?: boolean | undefined;
                            }>;
                        };
                        personal: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }>;
                        anonymize?: boolean | undefined;
                    };
                    write: {
                        credentials: {
                            categories: Record<string, {
                                required: boolean;
                                defaultEnabled?: boolean | undefined;
                            }>;
                        };
                        personal: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }>;
                    };
                };
                description?: string | undefined;
                image?: string | undefined;
                subtitle?: string | undefined;
                reasonForAccessing?: string | undefined;
                needsGuardianConsent?: boolean | undefined;
                redirectUrl?: string | undefined;
                frontDoorBoostUri?: string | undefined;
                expiresAt?: string | undefined;
                autoBoosts?: string[] | undefined;
                writers?: {
                    profileId: string;
                    displayName: string;
                    shortBio: string;
                    bio: string;
                    did: string;
                    isPrivate?: boolean | undefined;
                    profileVisibility?: "public" | "connections_only" | "private" | undefined;
                    showEmail?: boolean | undefined;
                    allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                    email?: string | undefined;
                    image?: string | undefined;
                    heroImage?: string | undefined;
                    websiteLink?: string | undefined;
                    isServiceProfile?: boolean | undefined;
                    type?: string | undefined;
                    notificationsWebhook?: string | undefined;
                    display?: {
                        backgroundColor?: string | undefined;
                        backgroundImage?: string | undefined;
                        fadeBackgroundImage?: boolean | undefined;
                        repeatBackgroundImage?: boolean | undefined;
                        fontColor?: string | undefined;
                        accentColor?: string | undefined;
                        accentFontColor?: string | undefined;
                        idBackgroundImage?: string | undefined;
                        fadeIdBackgroundImage?: boolean | undefined;
                        idBackgroundColor?: string | undefined;
                        repeatIdBackgroundImage?: boolean | undefined;
                    } | undefined;
                    highlightedCredentials?: string[] | undefined;
                    role?: string | undefined;
                    dob?: string | undefined;
                    country?: string | undefined;
                    approved?: boolean | undefined;
                }[] | undefined;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    deleteConsentFlowContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            uri: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getConsentedDataForContract: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            uri: string;
            cursor?: string | undefined;
            sort?: string | undefined;
            query?: {
                anonymize?: boolean | undefined;
                credentials?: {
                    categories?: Record<string, boolean> | undefined;
                } | undefined;
                personal?: Record<string, boolean> | undefined;
            } | undefined;
            limit?: number | undefined;
        };
        output: {
            hasMore: boolean;
            records: {
                credentials: {
                    categories: Record<string, string[]>;
                };
                personal: Record<string, string>;
                date: string;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getConsentedDataForDid: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            did: string;
            cursor?: string | undefined;
            sort?: string | undefined;
            query?: {
                credentials?: {
                    categories?: Record<string, boolean> | undefined;
                } | undefined;
                personal?: Record<string, boolean> | undefined;
                id?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
            } | undefined;
            limit?: number | undefined;
        };
        output: {
            hasMore: boolean;
            records: {
                credentials: {
                    category: string;
                    uri: string;
                }[];
                personal: Record<string, string>;
                date: string;
                contractUri: string;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getConsentedData: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            cursor?: string | undefined;
            sort?: string | undefined;
            limit?: number | undefined;
            query?: {
                anonymize?: boolean | undefined;
                credentials?: {
                    categories?: Record<string, boolean> | undefined;
                } | undefined;
                personal?: Record<string, boolean> | undefined;
            } | undefined;
        } | undefined;
        output: {
            hasMore: boolean;
            records: {
                credentials: {
                    categories: Record<string, string[]>;
                };
                personal: Record<string, string>;
                date: string;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    writeCredentialToContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            did: string;
            contractUri: string;
            boostUri: string;
            credential: {
                [x: string]: any;
                '@context': (string | Record<string, any>)[];
                type: string[];
                issuer: string | {
                    [x: string]: any;
                    id?: string | undefined;
                    type?: string | string[] | undefined;
                    name?: string | undefined;
                    url?: string | undefined;
                    phone?: string | undefined;
                    description?: string | undefined;
                    endorsement?: any[] | undefined;
                    image?: string | {
                        id: string;
                        type: string;
                        caption?: string | undefined;
                    } | undefined;
                    email?: string | undefined;
                    address?: {
                        type: string | string[];
                        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[];
                            latitude: number;
                            longitude: number;
                        } | undefined;
                    } | undefined;
                    otherIdentifier?: {
                        type: 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;
                };
                credentialSubject: {
                    [x: string]: any;
                    id?: string | undefined;
                } | {
                    [x: string]: any;
                    id?: string | undefined;
                }[];
                proof: {
                    [x: string]: any;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                } | {
                    [x: string]: any;
                    type: string;
                    created: string;
                    proofPurpose: string;
                    verificationMethod: string;
                    challenge?: string | undefined;
                    domain?: string | undefined;
                    nonce?: string | undefined;
                    jws?: string | undefined;
                }[];
                id?: string | undefined;
                refreshService?: {
                    [x: string]: any;
                    type: string;
                    id?: string | undefined;
                } | {
                    [x: string]: any;
                    type: string;
                    id?: string | undefined;
                }[] | undefined;
                credentialSchema?: {
                    [x: string]: any;
                    id: string;
                    type: string;
                } | {
                    [x: string]: any;
                    id: string;
                    type: string;
                }[] | undefined;
                issuanceDate?: string | undefined;
                expirationDate?: string | undefined;
                credentialStatus?: {
                    [x: string]: any;
                    type: string;
                    id: string;
                } | {
                    [x: string]: any;
                    type: string;
                    id: string;
                }[] | undefined;
                name?: string | undefined;
                description?: string | undefined;
                validFrom?: string | undefined;
                validUntil?: string | undefined;
                status?: {
                    [x: string]: any;
                    type: string;
                    id: string;
                } | {
                    [x: string]: any;
                    type: string;
                    id: string;
                }[] | undefined;
                termsOfUse?: {
                    [x: string]: any;
                    type: string;
                    id?: string | undefined;
                } | {
                    [x: string]: any;
                    type: string;
                    id?: string | undefined;
                }[] | undefined;
                evidence?: {
                    [x: string]: any;
                    type: string[];
                    id?: string | undefined;
                    name?: string | undefined;
                    narrative?: string | undefined;
                    description?: string | undefined;
                    genre?: string | undefined;
                    audience?: string | undefined;
                } | {
                    [x: string]: any;
                    type: string[];
                    id?: string | undefined;
                    name?: string | undefined;
                    narrative?: string | undefined;
                    description?: string | undefined;
                    genre?: string | undefined;
                    audience?: string | undefined;
                }[] | undefined;
            } | {
                protected: string;
                iv: string;
                ciphertext: string;
                tag: string;
                aad?: string | undefined;
                recipients?: {
                    header: {
                        alg: string;
                        iv: string;
                        tag: string;
                        epk?: {
                            kty?: string | undefined;
                            crv?: string | undefined;
                            x?: string | undefined;
                            y?: string | undefined;
                            n?: string | undefined;
                            d?: string | undefined;
                        } | undefined;
                        kid?: string | undefined;
                        apv?: string | undefined;
                        apu?: string | undefined;
                    };
                    encrypted_key: string;
                }[] | undefined;
            };
        };
        output: string;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    writeCredentialToContractViaSigningAuthority: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            did: string;
            contractUri: string;
            boostUri: string;
            signingAuthority: {
                name: string;
                endpoint: string;
            };
        };
        output: string;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    consentToContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            terms: {
                read?: {
                    anonymize?: boolean | undefined;
                    credentials?: {
                        shareAll?: boolean | undefined;
                        sharing?: boolean | undefined;
                        categories?: Record<string, {
                            sharing?: boolean | undefined;
                            shared?: string[] | undefined;
                            shareAll?: boolean | undefined;
                            shareUntil?: string | undefined;
                        }> | undefined;
                    } | undefined;
                    personal?: Record<string, string> | undefined;
                } | undefined;
                write?: {
                    credentials?: {
                        categories?: Record<string, boolean> | undefined;
                    } | undefined;
                    personal?: Record<string, boolean> | undefined;
                } | undefined;
                deniedWriters?: string[] | undefined;
            };
            contractUri: string;
            expiresAt?: string | undefined;
            oneTime?: boolean | undefined;
            recipientToken?: string | undefined;
        };
        output: {
            termsUri: string;
            redirectUrl?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getConsentedContracts: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            cursor?: string | undefined;
            sort?: string | undefined;
            query?: {
                read?: {
                    anonymize?: boolean | undefined;
                    credentials?: {
                        shareAll?: boolean | undefined;
                        sharing?: boolean | undefined;
                        categories?: Record<string, {
                            sharing?: boolean | undefined;
                            shared?: string[] | undefined;
                            shareAll?: boolean | undefined;
                            shareUntil?: string | undefined;
                        } | undefined> | undefined;
                    } | undefined;
                    personal?: Record<string, string> | undefined;
                } | undefined;
                write?: {
                    credentials?: {
                        categories?: Record<string, boolean> | undefined;
                    } | undefined;
                    personal?: Record<string, boolean> | undefined;
                } | undefined;
            } | undefined;
            limit?: number | undefined;
        } | undefined;
        output: {
            hasMore: boolean;
            records: {
                terms: {
                    read: {
                        credentials: {
                            categories: Record<string, {
                                sharing?: boolean | undefined;
                                shared?: string[] | undefined;
                                shareAll?: boolean | undefined;
                                shareUntil?: string | undefined;
                            }>;
                            shareAll?: boolean | undefined;
                            sharing?: boolean | undefined;
                        };
                        personal: Record<string, string>;
                        anonymize?: boolean | undefined;
                    };
                    write: {
                        credentials: {
                            categories: Record<string, boolean>;
                        };
                        personal: Record<string, boolean>;
                    };
                    deniedWriters?: string[] | undefined;
                };
                contract: {
                    contract: {
                        read: {
                            credentials: {
                                categories: Record<string, {
                                    required: boolean;
                                    defaultEnabled?: boolean | undefined;
                                }>;
                            };
                            personal: Record<string, {
                                required: boolean;
                                defaultEnabled?: boolean | undefined;
                            }>;
                            anonymize?: boolean | undefined;
                        };
                        write: {
                            credentials: {
                                categories: Record<string, {
                                    required: boolean;
                                    defaultEnabled?: boolean | undefined;
                                }>;
                            };
                            personal: Record<string, {
                                required: boolean;
                                defaultEnabled?: boolean | undefined;
                            }>;
                        };
                    };
                    owner: {
                        profileId: string;
                        displayName: string;
                        shortBio: string;
                        bio: string;
                        did: string;
                        isPrivate?: boolean | undefined;
                        profileVisibility?: "public" | "connections_only" | "private" | undefined;
                        showEmail?: boolean | undefined;
                        allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                        email?: string | undefined;
                        image?: string | undefined;
                        heroImage?: string | undefined;
                        websiteLink?: string | undefined;
                        isServiceProfile?: boolean | undefined;
                        type?: string | undefined;
                        notificationsWebhook?: string | undefined;
                        display?: {
                            backgroundColor?: string | undefined;
                            backgroundImage?: string | undefined;
                            fadeBackgroundImage?: boolean | undefined;
                            repeatBackgroundImage?: boolean | undefined;
                            fontColor?: string | undefined;
                            accentColor?: string | undefined;
                            accentFontColor?: string | undefined;
                            idBackgroundImage?: string | undefined;
                            fadeIdBackgroundImage?: boolean | undefined;
                            idBackgroundColor?: string | undefined;
                            repeatIdBackgroundImage?: boolean | undefined;
                        } | undefined;
                        highlightedCredentials?: string[] | undefined;
                        role?: string | undefined;
                        dob?: string | undefined;
                        country?: string | undefined;
                        approved?: boolean | undefined;
                    };
                    name: string;
                    uri: string;
                    createdAt: string;
                    updatedAt: string;
                    subtitle?: string | undefined;
                    description?: string | undefined;
                    reasonForAccessing?: string | undefined;
                    image?: string | undefined;
                    needsGuardianConsent?: boolean | undefined;
                    redirectUrl?: string | undefined;
                    frontDoorBoostUri?: string | undefined;
                    expiresAt?: string | undefined;
                    autoBoosts?: string[] | undefined;
                    writers?: {
                        profileId: string;
                        displayName: string;
                        shortBio: string;
                        bio: string;
                        did: string;
                        isPrivate?: boolean | undefined;
                        profileVisibility?: "public" | "connections_only" | "private" | undefined;
                        showEmail?: boolean | undefined;
                        allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                        email?: string | undefined;
                        image?: string | undefined;
                        heroImage?: string | undefined;
                        websiteLink?: string | undefined;
                        isServiceProfile?: boolean | undefined;
                        type?: string | undefined;
                        notificationsWebhook?: string | undefined;
                        display?: {
                            backgroundColor?: string | undefined;
                            backgroundImage?: string | undefined;
                            fadeBackgroundImage?: boolean | undefined;
                            repeatBackgroundImage?: boolean | undefined;
                            fontColor?: string | undefined;
                            accentColor?: string | undefined;
                            accentFontColor?: string | undefined;
                            idBackgroundImage?: string | undefined;
                            fadeIdBackgroundImage?: boolean | undefined;
                            idBackgroundColor?: string | undefined;
                            repeatIdBackgroundImage?: boolean | undefined;
                        } | undefined;
                        highlightedCredentials?: string[] | undefined;
                        role?: string | undefined;
                        dob?: string | undefined;
                        country?: string | undefined;
                        approved?: boolean | undefined;
                    }[] | undefined;
                };
                uri: string;
                consenter: {
                    profileId: string;
                    displayName: string;
                    shortBio: string;
                    bio: string;
                    did: string;
                    isPrivate?: boolean | undefined;
                    profileVisibility?: "public" | "connections_only" | "private" | undefined;
                    showEmail?: boolean | undefined;
                    allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                    email?: string | undefined;
                    image?: string | undefined;
                    heroImage?: string | undefined;
                    websiteLink?: string | undefined;
                    isServiceProfile?: boolean | undefined;
                    type?: string | undefined;
                    notificationsWebhook?: string | undefined;
                    display?: {
                        backgroundColor?: string | undefined;
                        backgroundImage?: string | undefined;
                        fadeBackgroundImage?: boolean | undefined;
                        repeatBackgroundImage?: boolean | undefined;
                        fontColor?: string | undefined;
                        accentColor?: string | undefined;
                        accentFontColor?: string | undefined;
                        idBackgroundImage?: string | undefined;
                        fadeIdBackgroundImage?: boolean | undefined;
                        idBackgroundColor?: string | undefined;
                        repeatIdBackgroundImage?: boolean | undefined;
                    } | undefined;
                    highlightedCredentials?: string[] | undefined;
                    role?: string | undefined;
                    dob?: string | undefined;
                    country?: string | undefined;
                    approved?: boolean | undefined;
                };
                status: "live" | "stale" | "withdrawn";
                expiresAt?: string | undefined;
                oneTime?: boolean | undefined;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    updateConsentedContractTerms: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            uri: string;
            terms: {
                read?: {
                    anonymize?: boolean | undefined;
                    credentials?: {
                        shareAll?: boolean | undefined;
                        sharing?: boolean | undefined;
                        categories?: Record<string, {
                            sharing?: boolean | undefined;
                            shared?: string[] | undefined;
                            shareAll?: boolean | undefined;
                            shareUntil?: string | undefined;
                        }> | undefined;
                    } | undefined;
                    personal?: Record<string, string> | undefined;
                } | undefined;
                write?: {
                    credentials?: {
                        categories?: Record<string, boolean> | undefined;
                    } | undefined;
                    personal?: Record<string, boolean> | undefined;
                } | undefined;
                deniedWriters?: string[] | undefined;
            };
            expiresAt?: string | undefined;
            oneTime?: boolean | undefined;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    withdrawConsent: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            uri: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getTermsTransactionHistory: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            uri: string;
            cursor?: string | undefined;
            sort?: string | undefined;
            query?: {
                terms?: {
                    read?: {
                        anonymize?: boolean | undefined;
                        credentials?: {
                            shareAll?: boolean | undefined;
                            sharing?: boolean | undefined;
                            categories?: Record<string, {
                                sharing?: boolean | undefined;
                                shared?: string[] | undefined;
                                shareAll?: boolean | undefined;
                                shareUntil?: string | undefined;
                            } | undefined> | undefined;
                        } | undefined;
                        personal?: Record<string, string> | undefined;
                    } | undefined;
                    write?: {
                        credentials?: {
                            categories?: Record<string, boolean> | undefined;
                        } | undefined;
                        personal?: Record<string, boolean> | undefined;
                    } | undefined;
                } | undefined;
                action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
                date?: {
                    $gt: string;
                } | {
                    $lt: string;
                } | {
                    $eq: string;
                } | undefined;
                expiresAt?: {
                    $gt: string;
                } | {
                    $lt: string;
                } | {
                    $eq: string;
                } | undefined;
                oneTime?: boolean | undefined;
            } | undefined;
            limit?: number | undefined;
        };
        output: {
            hasMore: boolean;
            records: {
                id: string;
                action: "write" | "consent" | "update" | "sync" | "withdraw";
                date: string;
                expiresAt?: string | undefined;
                oneTime?: boolean | undefined;
                terms?: {
                    read: {
                        credentials: {
                            categories: Record<string, {
                                sharing?: boolean | undefined;
                                shared?: string[] | undefined;
                                shareAll?: boolean | undefined;
                                shareUntil?: string | undefined;
                            }>;
                            shareAll?: boolean | undefined;
                            sharing?: boolean | undefined;
                        };
                        personal: Record<string, string>;
                        anonymize?: boolean | undefined;
                    };
                    write: {
                        credentials: {
                            categories: Record<string, boolean>;
                        };
                        personal: Record<string, boolean>;
                    };
                    deniedWriters?: string[] | undefined;
                } | undefined;
                uris?: string[] | undefined;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    verifyConsent: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            uri: string;
            profileId: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    syncCredentialsToContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            termsUri: string;
            categories: Record<string, string[]>;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getCredentialsForContract: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            termsUri: string;
            cursor?: string | undefined;
            sort?: string | undefined;
            includeReceived?: boolean | undefined;
            limit?: number | undefined;
        };
        output: {
            hasMore: boolean;
            records: {
                credentialUri: string;
                termsUri: string;
                contractUri: string;
                boostUri: string;
                date: string;
                category?: string | undefined;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getAllCredentialsForTerms: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            cursor?: string | undefined;
            sort?: string | undefined;
            includeReceived?: boolean | undefined;
            limit?: number | undefined;
        } | undefined;
        output: {
            hasMore: boolean;
            records: {
                credentialUri: string;
                termsUri: string;
                contractUri: string;
                boostUri: string;
                date: string;
                category?: string | undefined;
            }[];
            cursor?: string | undefined;
        };
        meta: import(".././routes/index").RouteMetadata;
    }>;
    addAutoBoostsToContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            contractUri: string;
            autoboosts: {
                boostUri: string;
                signingAuthority: {
                    endpoint: string;
                    name: string;
                };
            }[];
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    removeAutoBoostsFromContract: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            contractUri: string;
            boostUris: string[];
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    sendAiInsightsContractRequest: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            contractUri: string;
            targetProfileId: string;
            shareLink: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    sendAiInsightShareRequest: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            targetProfileId: string;
            shareLink: string;
            childProfileId?: string | undefined;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getContractSentRequests: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            contractUri: string;
        };
        output: {
            profile: {
                profileId: string;
                displayName: string;
                shortBio: string;
                bio: string;
                did: string;
                isPrivate?: boolean | undefined;
                profileVisibility?: "public" | "connections_only" | "private" | undefined;
                showEmail?: boolean | undefined;
                allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                email?: string | undefined;
                image?: string | undefined;
                heroImage?: string | undefined;
                websiteLink?: string | undefined;
                isServiceProfile?: boolean | undefined;
                type?: string | undefined;
                notificationsWebhook?: string | undefined;
                display?: {
                    backgroundColor?: string | undefined;
                    backgroundImage?: string | undefined;
                    fadeBackgroundImage?: boolean | undefined;
                    repeatBackgroundImage?: boolean | undefined;
                    fontColor?: string | undefined;
                    accentColor?: string | undefined;
                    accentFontColor?: string | undefined;
                    idBackgroundImage?: string | undefined;
                    fadeIdBackgroundImage?: boolean | undefined;
                    idBackgroundColor?: string | undefined;
                    repeatIdBackgroundImage?: boolean | undefined;
                } | undefined;
                highlightedCredentials?: string[] | undefined;
                role?: string | undefined;
                dob?: string | undefined;
                country?: string | undefined;
                approved?: boolean | undefined;
            };
            status: "pending" | "accepted" | "denied" | null;
            readStatus?: "unseen" | "seen" | null | undefined;
        }[];
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getRequestStatusForProfile: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            targetProfileId: string;
            contractId?: string | null | undefined;
            contractUri?: string | null | undefined;
        };
        output: {
            profile: {
                profileId: string;
                displayName: string;
                shortBio: string;
                bio: string;
                did: string;
                isPrivate?: boolean | undefined;
                profileVisibility?: "public" | "connections_only" | "private" | undefined;
                showEmail?: boolean | undefined;
                allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                email?: string | undefined;
                image?: string | undefined;
                heroImage?: string | undefined;
                websiteLink?: string | undefined;
                isServiceProfile?: boolean | undefined;
                type?: string | undefined;
                notificationsWebhook?: string | undefined;
                display?: {
                    backgroundColor?: string | undefined;
                    backgroundImage?: string | undefined;
                    fadeBackgroundImage?: boolean | undefined;
                    repeatBackgroundImage?: boolean | undefined;
                    fontColor?: string | undefined;
                    accentColor?: string | undefined;
                    accentFontColor?: string | undefined;
                    idBackgroundImage?: string | undefined;
                    fadeIdBackgroundImage?: boolean | undefined;
                    idBackgroundColor?: string | undefined;
                    repeatIdBackgroundImage?: boolean | undefined;
                } | undefined;
                highlightedCredentials?: string[] | undefined;
                role?: string | undefined;
                dob?: string | undefined;
                country?: string | undefined;
                approved?: boolean | undefined;
            };
            status: "pending" | "accepted" | "denied" | null;
            readStatus?: "unseen" | "seen" | null | undefined;
        } | null;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    markContractRequestAsSeen: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            contractUri: string;
            targetProfileId: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    cancelContractRequest: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            contractUri: string;
            targetProfileId: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getAllContractRequestsForProfile: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            targetProfileId: string;
        };
        output: {
            contract: {
                read: {
                    credentials: {
                        categories: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }>;
                    };
                    personal: Record<string, {
                        required: boolean;
                        defaultEnabled?: boolean | undefined;
                    }>;
                    anonymize?: boolean | undefined;
                };
                write: {
                    credentials: {
                        categories: Record<string, {
                            required: boolean;
                            defaultEnabled?: boolean | undefined;
                        }>;
                    };
                    personal: Record<string, {
                        required: boolean;
                        defaultEnabled?: boolean | undefined;
                    }>;
                };
                uri: string;
            };
            profile: {
                profileId: string;
                displayName: string;
                shortBio: string;
                bio: string;
                did: string;
                isPrivate?: boolean | undefined;
                profileVisibility?: "public" | "connections_only" | "private" | undefined;
                showEmail?: boolean | undefined;
                allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                email?: string | undefined;
                image?: string | undefined;
                heroImage?: string | undefined;
                websiteLink?: string | undefined;
                isServiceProfile?: boolean | undefined;
                type?: string | undefined;
                notificationsWebhook?: string | undefined;
                display?: {
                    backgroundColor?: string | undefined;
                    backgroundImage?: string | undefined;
                    fadeBackgroundImage?: boolean | undefined;
                    repeatBackgroundImage?: boolean | undefined;
                    fontColor?: string | undefined;
                    accentColor?: string | undefined;
                    accentFontColor?: string | undefined;
                    idBackgroundImage?: string | undefined;
                    fadeIdBackgroundImage?: boolean | undefined;
                    idBackgroundColor?: string | undefined;
                    repeatIdBackgroundImage?: boolean | undefined;
                } | undefined;
                highlightedCredentials?: string[] | undefined;
                role?: string | undefined;
                dob?: string | undefined;
                country?: string | undefined;
                approved?: boolean | undefined;
            };
            status: "pending" | "accepted" | "denied" | null;
            readStatus?: "unseen" | "seen" | null | undefined;
        }[];
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getSharedInsightsRequestsForProfile: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            targetProfileId: string;
        };
        output: {
            profile: {
                profileId: string;
                displayName: string;
                shortBio: string;
                bio: string;
                did: string;
                isPrivate?: boolean | undefined;
                profileVisibility?: "public" | "connections_only" | "private" | undefined;
                showEmail?: boolean | undefined;
                allowConnectionRequests?: "anyone" | "invite_only" | undefined;
                email?: string | undefined;
                image?: string | undefined;
                heroImage?: string | undefined;
                websiteLink?: string | undefined;
                isServiceProfile?: boolean | undefined;
                type?: string | undefined;
                notificationsWebhook?: string | undefined;
                display?: {
                    backgroundColor?: string | undefined;
                    backgroundImage?: string | undefined;
                    fadeBackgroundImage?: boolean | undefined;
                    repeatBackgroundImage?: boolean | undefined;
                    fontColor?: string | undefined;
                    accentColor?: string | undefined;
                    accentFontColor?: string | undefined;
                    idBackgroundImage?: string | undefined;
                    fadeIdBackgroundImage?: boolean | undefined;
                    idBackgroundColor?: string | undefined;
                    repeatIdBackgroundImage?: boolean | undefined;
                } | undefined;
                highlightedCredentials?: string[] | undefined;
                role?: string | undefined;
                dob?: string | undefined;
                country?: string | undefined;
                approved?: boolean | undefined;
            };
            status: "pending" | "accepted" | "denied" | null;
            readStatus?: "unseen" | "seen" | null | undefined;
            contractUri?: string | undefined;
        }[];
        meta: import(".././routes/index").RouteMetadata;
    }>;
    forwardContractRequestToProfile: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            parentProfileId: string;
            targetProfileId: string;
            contractUri?: string | undefined;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
}>>;
export type ContractsRouter = typeof contractsRouter;
//# sourceMappingURL=contracts.d.ts.map