import { CheckSequenceSource, FrameConfig, FrameInterface, FrameStatic } from '@data-link-layer/model'; export declare class Frame implements FrameInterface { protected readonly frameConfig: FrameConfig; protected rawBytes: number[]; protected rawBytePosition: number; constructor(frameConfig: FrameConfig); clone(): FrameInterface; getNextRawByte(): number; getPayload(): number[]; getRawBytePosition(): number; getRawBytes(): number[]; isEqualTo(frame: FrameInterface): boolean; isNotEqualTo(frame: FrameInterface): boolean; isValid(): boolean; setPayload(payload: number[]): FrameInterface; setRawBytes(rawBytes: number[]): FrameInterface; protected getCheckSequence(checkSequenceSource: CheckSequenceSource): number[]; protected getFullCheckSequenceCalculated(): number[]; protected getPayloadLengthCalculated(): number; protected getPayloadLengthFromHeader(): number; } export declare const createFrameConfig: { factory: FrameStatic; }; export declare const createFrame: (frameConfig: FrameConfig) => FrameInterface;