2024-10-15 23:05:53 +03:00

13 lines
384 B
TypeScript

import { ValidInputTypes } from '../types.js';
/**
* checks input if typeof data is valid Uint8Array input
*/
export declare const isUint8Array: (data: ValidInputTypes) => data is Uint8Array;
export declare const isBytes: (value: ValidInputTypes | Uint8Array | number[], options?: {
abiType: string;
size?: never;
} | {
size: number;
abiType?: never;
}) => boolean;