import { CustomProtocol } from "./custom.type"; export declare namespace FPrinterCustom { type Config = { host: string; fiscalId?: string; }; type Response = { ok: boolean; body?: any; original?: { req: any; res: any; }; }; abstract class Client { private readonly config; constructor(config: Config); getConfig(): Config; abstract printFiscalReceipt(receipt: CustomProtocol.Receipt): Promise; abstract printFiscalReport(report: CustomProtocol.Report): Promise; abstract printCancel(cancel: CustomProtocol.Cancel): Promise; abstract executeCommand(...commands: CustomProtocol.Command[]): Promise; } }