import { z } from 'zod'; export declare const IdentityDerivationAlgorithm: "bip44-secp256k1-v1"; export declare const Xl1Bip44BasePath: "m/44'/60'/0'/0"; export declare const MaximumBip32ChildIndex = 2147483647; export declare const Xl1Bip44ChildPathZod: z.ZodString; export declare const IdentityMigrationZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"rotate-from">; predecessorAddress: z.ZodString; authorization: z.ZodLiteral<"application-protocol">; }, z.core.$strict>], "mode">; export type IdentityMigration = z.infer; export declare const IdentityDerivationZod: z.ZodObject<{ algorithm: z.ZodLiteral<"bip44-secp256k1-v1">; rootCapabilityId: z.ZodString; fullPath: z.ZodString; expectedAddress: z.ZodString; networkScope: z.ZodString; migration: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"rotate-from">; predecessorAddress: z.ZodString; authorization: z.ZodLiteral<"application-protocol">; }, z.core.$strict>], "mode">; }, z.core.$strict>; export type IdentityDerivation = z.infer; export declare const IdentityBindingZod: z.ZodObject<{ roleId: z.ZodString; capabilityId: z.ZodString; derivation: z.ZodOptional; rootCapabilityId: z.ZodString; fullPath: z.ZodString; expectedAddress: z.ZodString; networkScope: z.ZodString; migration: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"rotate-from">; predecessorAddress: z.ZodString; authorization: z.ZodLiteral<"application-protocol">; }, z.core.$strict>], "mode">; }, z.core.$strict>>; }, z.core.$strict>; export type IdentityBinding = z.infer; export declare const IdentityBindingIssueCodes: readonly ["identity.address-duplicate", "identity.capability-duplicate", "identity.expected-address-mismatch", "identity.invalid", "identity.migration-cycle", "identity.network-scope-mismatch", "identity.path-duplicate", "identity.role-duplicate"]; export declare const IdentityBindingIssueCodeZod: z.ZodEnum<{ "identity.address-duplicate": "identity.address-duplicate"; "identity.capability-duplicate": "identity.capability-duplicate"; "identity.expected-address-mismatch": "identity.expected-address-mismatch"; "identity.invalid": "identity.invalid"; "identity.migration-cycle": "identity.migration-cycle"; "identity.network-scope-mismatch": "identity.network-scope-mismatch"; "identity.path-duplicate": "identity.path-duplicate"; "identity.role-duplicate": "identity.role-duplicate"; }>; export type IdentityBindingIssueCode = z.infer; export interface IdentityBindingIssue { code: IdentityBindingIssueCode; message: string; path: (number | string)[]; } export interface IdentityBindingValidationContext { expectedChainId: string; resolvedAddresses?: Readonly>; } export interface IdentityBindingValidationSuccess { success: true; value: IdentityBinding[]; } export interface IdentityBindingValidationFailure { issues: IdentityBindingIssue[]; success: false; } export type IdentityBindingValidationResult = IdentityBindingValidationFailure | IdentityBindingValidationSuccess; export declare function validateIdentityBindings(value: unknown, context: IdentityBindingValidationContext): IdentityBindingValidationResult; //# sourceMappingURL=identity.d.ts.map