import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * GenesisState defines the module genesis state * * @generated from message did.v1.GenesisState */ export declare class GenesisState extends Message { /** * Params defines all the parameters of the module. * * @generated from field: did.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.GenesisState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GenesisState; static fromJson(jsonValue: JsonValue, options?: Partial): GenesisState; static fromJsonString(jsonString: string, options?: Partial): GenesisState; static equals(a: GenesisState | PlainMessage | undefined, b: GenesisState | PlainMessage | undefined): boolean; } /** * Params defines the set of module parameters. * * @generated from message did.v1.Params */ export declare class Params extends Message { /** * @generated from field: did.v1.DocumentParams document = 1; */ document?: DocumentParams; /** * @generated from field: did.v1.WebauthnParams webauthn = 2; */ webauthn?: WebauthnParams; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.Params"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Params; static fromJson(jsonValue: JsonValue, options?: Partial): Params; static fromJsonString(jsonString: string, options?: Partial): Params; static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; } /** * DocumentParams defines the parameters for the DID module. * * @generated from message did.v1.DocumentParams */ export declare class DocumentParams extends Message { /** * AutoCreateVault enables automatic vault creation upon DID registration * * @generated from field: bool auto_create_vault = 1; */ autoCreateVault: boolean; /** * MaxVerificationMethods limits the number of verification methods * * @generated from field: int32 max_verification_methods = 2; */ maxVerificationMethods: number; /** * MaxServiceEndpoints limits the number of service endpoints * * @generated from field: int32 max_service_endpoints = 3; */ maxServiceEndpoints: number; /** * MaxControllers limits the number of controllers per DID document * * @generated from field: int32 max_controllers = 4; */ maxControllers: number; /** * DidDocumentMaxSize limits the maximum size of a DID document in bytes * * @generated from field: int64 did_document_max_size = 5; */ didDocumentMaxSize: bigint; /** * DidResolutionTimeout is the timeout for resolution operations in seconds * * @generated from field: int64 did_resolution_timeout = 6; */ didResolutionTimeout: bigint; /** * KeyRotationInterval is the recommended interval for key rotation in seconds * * @generated from field: int64 key_rotation_interval = 7; */ keyRotationInterval: bigint; /** * CredentialLifetime is the default lifetime in seconds * * @generated from field: int64 credential_lifetime = 8; */ credentialLifetime: bigint; /** * Supported Assertion methods * * @generated from field: repeated string supported_assertion_methods = 9; */ supportedAssertionMethods: string[]; /** * Supported Authentication methods * * @generated from field: repeated string supported_authentication_methods = 10; */ supportedAuthenticationMethods: string[]; /** * Supported Invocation methods * * @generated from field: repeated string supported_invocation_methods = 11; */ supportedInvocationMethods: string[]; /** * Supported Delegation methods * * @generated from field: repeated string supported_delegation_methods = 12; */ supportedDelegationMethods: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.DocumentParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DocumentParams; static fromJson(jsonValue: JsonValue, options?: Partial): DocumentParams; static fromJsonString(jsonString: string, options?: Partial): DocumentParams; static equals(a: DocumentParams | PlainMessage | undefined, b: DocumentParams | PlainMessage | undefined): boolean; } /** * WebauthnParams defines the parameters for the WebAuthn module. * * @generated from message did.v1.WebauthnParams */ export declare class WebauthnParams extends Message { /** * ChallengeTimeout is the default timeout in seconds * * @generated from field: int64 challenge_timeout = 1; */ challengeTimeout: bigint; /** * AllowedOrigins are the allowed WebAuthn origins for credential creation * * @generated from field: repeated string allowed_origins = 2; */ allowedOrigins: string[]; /** * SupportedAlgorithms are the supported signature for WebAuthn credentials * * @generated from field: repeated string supported_algorithms = 3; */ supportedAlgorithms: string[]; /** * RequireUserVerification enforces verification for WebAuthn credentials * * @generated from field: bool require_user_verification = 4; */ requireUserVerification: boolean; /** * MaxCredentialsPerDID limits the number of WebAuthn credentials per DID * * @generated from field: int32 max_credentials_per_did = 5; */ maxCredentialsPerDid: number; /** * DefaultRPID is the default Relying Party ID for WebAuthn operations * * @generated from field: string default_rp_id = 6; */ defaultRpId: string; /** * DefaultRPName is the default Relying Party name for WebAuthn operations * * @generated from field: string default_rp_name = 7; */ defaultRpName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.WebauthnParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebauthnParams; static fromJson(jsonValue: JsonValue, options?: Partial): WebauthnParams; static fromJsonString(jsonString: string, options?: Partial): WebauthnParams; static equals(a: WebauthnParams | PlainMessage | undefined, b: WebauthnParams | PlainMessage | undefined): boolean; } //# sourceMappingURL=genesis_pb.d.ts.map