import { type SizeExceedsPaddingSizeErrorType } from '../errors/data.js'; import type { ErrorType } from '../errors/utils.js'; import type { Bytes, Hex } from '../types/data.js'; export type PadOptions = { dir?: 'left' | 'right' | undefined; size?: number | null | undefined; }; export type PadReturnType = value extends Hex ? Hex : Bytes; export type PadErrorType = PadHexErrorType | PadBytesErrorType | ErrorType; export declare function pad(hexOrBytes: value, options?: PadOptions): PadReturnType; export type PadHexErrorType = SizeExceedsPaddingSizeErrorType | ErrorType; export declare function padHex(hex_: Hex, options?: PadOptions): `0x${string}`; export type PadBytesErrorType = SizeExceedsPaddingSizeErrorType | ErrorType; export declare function padBytes(bytes: Bytes, options?: PadOptions): Uint8Array; //# sourceMappingURL=pad.d.ts.map