export declare const EOF: unique symbol; export declare enum PrimitiveSymbol { u8 = 0, u16 = 1, u24 = 2, u32 = 3, u64 = 4, i8 = 5, i16 = 6, i24 = 7, i32 = 8, i64 = 9, float32 = 10, float64 = 11 } /** * The execution scope defines in which part of the binary processing (read, * write or both). */ export declare enum ExecutionScope { OnRead = 1, OnWrite = 2, OnBoth = 3 } /** * isPrimitiveSymbol. * * @param {any} x * @returns {x is PrimitiveSymbol} */ export declare function isPrimitiveSymbol(x: any): x is PrimitiveSymbol; export type DecoratorMetadataObject = Record; /** * Context */ export type Context = ClassAccessorDecoratorContext | ClassGetterDecoratorContext | ClassFieldDecoratorContext; /** * DecoratorType. */ export type DecoratorType = (target: undefined, context: Context) => void; export type ClassAndPropertyDecoratorContext = ClassDecoratorContext This> | Context; export type ClassAndPropertyDecoratorType = (target: any, context: ClassAndPropertyDecoratorContext) => void; /** * InstantiableObject. */ export type InstantiableObject = (new (...args: any[]) => Target); export type Primitive = InstantiableObject | PrimitiveSymbol;