import { type ConcatHexErrorType } from '../../../core/internal/data/concat.js'; import { type HexToBytesErrorType } from '../../../core/internal/encoding/toBytes.js'; import { type ToHexErrorType } from '../../../core/internal/encoding/toHex.js'; import { type ToRlpErrorType } from '../../../core/internal/encoding/toRlp.js'; import type { ErrorType } from '../../../core/internal/errors/utils.js'; import { type Keccak256ErrorType } from '../../../core/internal/hash/keccak256.js'; import type { BigIntegerish, Bytes, Hex, Integerish } from '../../../core/internal/types/data.js'; import type { Authorization } from '../types/authorization.js'; type To = 'hex' | 'bytes'; export type HashAuthorizationParameters = Authorization & { to?: to | To | undefined; }; export type HashAuthorizationReturnType = (to extends 'bytes' ? Bytes : never) | (to extends 'hex' ? Hex : never); export type HashAuthorizationErrorType = Keccak256ErrorType | ConcatHexErrorType | ToRlpErrorType | ToHexErrorType | HexToBytesErrorType | ErrorType; export declare function hashAuthorization(parameters: HashAuthorizationParameters): HashAuthorizationReturnType; export {}; //# sourceMappingURL=hashAuthorization.d.ts.map