import type { CapacitorThermalPrinterPlugin } from './definitions'; type PickByType = { [P in keyof T as T[P] extends Value | undefined ? P : never]: T[P]; }; type WrappedMethods = keyof PickByType CapacitorThermalPrinterPlugin> | 'write'; type FixedArray = readonly T[] & { length: L; }; export type WrappedMethodsArgsMap = { [P in WrappedMethods]: FixedArray>['length']>; }; type Promisable = T | PromiseLike; export type WrappedMethodsMiddlewareMap = { [P in WrappedMethods]?: (...args: Parameters) => Promisable>; }; export {};