import { TypedDataRevision as Revision, type StarknetMerkleType, type StarknetType, type TypedData } from '@starknet-io/types-js'; import type { BigNumberish } from '../strk-types/lib.js'; interface Context { parent?: string; key?: string; } export declare function validateTypedData(data: unknown): data is TypedData; export declare function prepareSelector(selector: string): string; export declare function isMerkleTreeType(type: StarknetType): type is StarknetMerkleType; export declare function getDependencies(types: TypedData['types'], type: string, dependencies?: string[], contains?: string, revision?: Revision): string[]; export declare function encodeType(types: TypedData['types'], type: string, revision?: Revision): string; export declare function getTypeHash(types: TypedData['types'], type: string, revision?: Revision): string; export declare function encodeValue(types: TypedData['types'], type: string, data: unknown, ctx?: Context, revision?: Revision): [string, string]; export declare function encodeData(types: T['types'], type: string, data: T['message'], revision?: Revision): [string[], string[]]; export declare function getStructHash(types: T['types'], type: string, data: T['message'], revision?: Revision): string; export declare function getMessageHash(typedData: TypedData, account: BigNumberish): string; export {}; //# sourceMappingURL=typedData.d.ts.map