import type { RoUint8Array } from "@xlabs-xyz/const-utils"; import type { Layout, Item, SwitchItem, FixedConversion, NumType, PrimitiveType, FlexLayoutBytes, LengthPrefixedLayoutBytes, ManualSizeLayoutBytes } from "./layout.js"; export declare const isNumType: (x: any) => x is NumType; export declare const isPrimitiveType: (x: any) => x is PrimitiveType; export declare const isItem: (x: any) => x is Item; export declare const isLayout: (x: any) => x is Layout; export declare const isFixedUintConversion: (custom: any) => custom is FixedConversion | FixedConversion; export declare const isFixedBytesConversion: (custom: any) => custom is FixedConversion; export declare const isFixedPrimitiveConversion: (custom: any) => custom is FixedConversion | FixedConversion | FixedConversion; export declare const checkSize: (layoutSize: number, dataSize: number) => number; export declare const bytesItemHasLayout: (bytesItem: { readonly binary: "bytes"; }) => bytesItem is FlexLayoutBytes | ManualSizeLayoutBytes | LengthPrefixedLayoutBytes; export declare const checkItemSize: (item: any, dataSize: number) => number; export declare const checkNumEquals: (custom: number | bigint, data: number | bigint) => void; export declare const checkBytesTypeEqual: (custom: RoUint8Array, data: RoUint8Array, opts?: { customSlice?: number | readonly [number, number]; dataSlice?: number | readonly [number, number]; }) => void; export declare function findIdLayoutPair(item: SwitchItem, data: any): any; //# sourceMappingURL=utils.d.ts.map