import type { FieldsValue, Struct, StructFields } from "./struct.js"; type UnionToIntersection = (U extends unknown ? (x: U) => void : never) extends (x: infer I) => void ? I : never; type As = T extends infer V extends U ? V : never; export type ConcatFields | undefined, unknown>[]> = As, StructFields>; type ConcatFieldValues | undefined, unknown>[]> = FieldsValue>; type ExtraToUnion | undefined> = Extra extends undefined ? never : Extra; export type ConcatExtras | undefined, unknown>[]> = As>, Record>; export declare function concat | undefined, unknown>[], PostDeserialize = ConcatFieldValues & ConcatExtras>(options: { littleEndian: boolean; postDeserialize?: (this: ConcatFieldValues & ConcatExtras, value: ConcatFieldValues & ConcatExtras) => PostDeserialize; }, ...structs: T): Struct, ConcatExtras, PostDeserialize>; export {}; //# sourceMappingURL=concat.d.ts.map