///
///
import { TkaTransaction, TdgTransaction, TdtTransaction, SongTransaction, TcuTransaction, ToaMepProcessor, ChannelTransaction, AuthTransaction, TdiTransaction, ToaProcessor, ChOpenTransaction, ToaFeature, BaseTransaction } from "../models/index.js";
import { TrmTransaction, RingingStateMachine, AdvIntTransaction } from "../models/index.js";
import { TileVolume } from "../models/TileVolume.js";
import { Tile } from "../models/Tile.js";
import EventEmitter from "events";
export declare const BleGattMode: {
DISCOVERED: number;
CONNECTING: number;
CONNECTED: number;
CONNECTED_AND_SERVICES_DISCOVERED: number;
CONNECTED_AND_IS_USER_TILE: number;
CONNECTED_AND_FAILED_SERVICE_DISCOVERY: number;
CONNECTED_BUT_DROPPED: number;
DISCONNECTING: number;
DISCONNECTING_IN_ERROR: number;
DISCONNECTED: number;
};
export declare const FEEC_SERVICE: string;
export declare const FEED_SERVICE: string;
export declare const MEP_COMMAND_CHAR: string;
export declare const MEP_RESPONSE_CHAR: string;
export declare const TILE_ID_CHAR: string;
export declare class AbstractTileService extends EventEmitter {
tile: Tile;
tileId: string;
tileIdAsBytes: Buffer;
model: string;
firmware: string;
hardware: string;
randA: Buffer;
randT: Buffer;
sresT: Buffer;
macAddress: string;
advertisingInterval: number;
bleGattMode: number;
toaMepProcessor: ToaMepProcessor;
toaProcessor: ToaProcessor;
initialTdiTransaction: TdiTransaction;
isNotifyAuthTripletSeen: boolean;
diagData: Buffer;
ringingStateMachine: RingingStateMachine;
packetListeners: {};
onAuthenticatedListener: (_: any) => void;
constructor();
connect(rssiTimeout?: number): Promise;
discoverServices(): Promise;
isTile(): void;
isTileActivated(): void;
getTileId(): Promise;
authenticate(tile: Tile): Promise;
getAuthKeyHmac(): Buffer;
isMepCmdOrRespSet(): boolean;
onMepResponse(data: Buffer): void | Promise;
programNewSong(song: Uint8Array): Promise;
getChecksum(bytes: Uint8Array): number;
handleAdvIntTransaction(tx: AdvIntTransaction): void;
handleTdgTransaction(tx: TdgTransaction): Promise;
isToaFeatureSupported(feature: ToaFeature): boolean;
shouldTofu(): boolean;
sendTcuRequest(): Promise;
handleTdtTranscation(tx: TdtTransaction): void;
handleTcuTransaction(tx: TcuTransaction): void;
notifyAuthTripletSeen(): Promise;
startTileRssiMonitoring(batchSize?: number): Promise;
stopTileRssiMonitoring(): Promise;
handleTrmTransaction(tx: TrmTransaction): void;
programBionicBirdieSong(): Promise;
sendRinger(volume?: TileVolume, seconds?: number): Promise;
handleTkaTransaction(tx: TkaTransaction): void;
handleCloseChannelTransaction(tx: ChannelTransaction): Promise;
_disconnect(): Promise;
setToaProcessorReady(): void;
handleNonceReady(toaData: Buffer): void;
handleChannelOpenTransaction(tx: ChOpenTransaction): void;
getMepChannelAuthKeyHmac(): Buffer;
getSecurityLevel(): number;
handleAuthAssociateTransaction(tx: AuthTransaction): void;
startTdiSequence(): Promise;
sendRandA(): void;
sendPacketsAsync(toaPrefix: number, toaTx: T): Promise;
sendPacketPreAuthAsync(toaPrefix: number, toaTx: T): Promise;
sendPackets(toaPrefix: any, toaData: Buffer): Promise;
sendPacketsPreAuth(toaPrefix: any, toaData: Buffer): Promise;
_sendPackets(toSend: Buffer): Promise;
}
//# sourceMappingURL=AbstractTileService.d.ts.map