import { IPrinterAdapter } from '../types'; import { PlatformType } from '../utils/platform'; /** * Adapter factory class */ export declare class AdapterFactory { /** * Creates an adapter instance based on the detected platform * * @returns An instance of the appropriate adapter for the current platform * @throws BluetoothPrintError if the platform is not supported */ static create(): IPrinterAdapter; /** * Creates an adapter instance for a specific platform * * @param platform - The platform type to create an adapter for * @returns An instance of the appropriate adapter for the specified platform * @throws BluetoothPrintError if the platform is not supported */ static createForPlatform(platform: PlatformType): IPrinterAdapter; }