import type { ErrorType } from '../../errors/utils.js'; import type { ByteArray, Hex } from '../../types/misc.js'; type TrimOptions = { dir?: 'left' | 'right' | undefined; }; export type TrimReturnType = value extends Hex ? Hex : ByteArray; export type TrimErrorType = ErrorType; export declare function trim(hexOrBytes: value, { dir }?: TrimOptions): TrimReturnType; export {}; //# sourceMappingURL=trim.d.ts.map