import { type Hex, type TypedDataDefinition } from 'viem'; import type { EvmChainReference } from '../chains/types.js'; import type { SigningContext } from './context.js'; import { type SigningStageAssemblyInput } from './execute.js'; import type { ArtifactAssemblyPlan, ConfiguredValidatorTopology, EffectiveSignerSelection, PayloadSigningTask, SigningCheckpointPort, SigningPayloadMaterial, SigningPlan, SigningTranscript } from './types.js'; export interface TypedDataSigningPlanInput { readonly typedData: TypedDataDefinition; readonly signingMaterial?: SigningPayloadMaterial; readonly chain: EvmChainReference; readonly configuredTopology: ConfiguredValidatorTopology; readonly effectiveSelection: EffectiveSignerSelection; readonly tasks: readonly PayloadSigningTask[]; readonly route: Omit; readonly checkpoint?: Extract; } export declare function resolveAccountTypedDataSigning(input: { readonly typedData: TypedDataDefinition; readonly chain: EvmChainReference; readonly context: SigningContext; }): { readonly material: SigningPayloadMaterial; readonly payloadKind: 'message' | 'typed-data'; readonly ecdsaInvocation: 'ecdsa-sign-message' | 'ecdsa-sign-typed-data'; readonly webauthnInvocation: 'webauthn-sign-hash' | 'webauthn-sign-typed-data'; readonly erc7739: ArtifactAssemblyPlan['erc7739']; }; export declare function createTypedDataSigningPlan(input: TypedDataSigningPlanInput): SigningPlan; export declare function signAccountTypedData(input: { readonly planInput: TypedDataSigningPlanInput; readonly context: SigningContext; readonly checkpoints: SigningCheckpointPort; }): Promise<{ readonly signature: Hex; readonly transcript: SigningTranscript; }>; export declare function assembleTypedDataStage(input: SigningStageAssemblyInput, context: SigningContext): Readonly>; //# sourceMappingURL=typed-data.d.ts.map