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