/** The paper size and orientation a DEVMODE records, when it records them. */ export interface PrinterPageSetup { /** `dmPaperSize` — the same §18.3.1.63 enumeration `` uses. */ readonly paperSize?: number; readonly orientation?: 'portrait' | 'landscape'; } /** * Read the paper size and orientation out of a `printerSettings#.bin` part. * * Returns an empty record for anything that does not look like a DEVMODE — the * part is opaque binary from an arbitrary printer driver, so nothing here may * assume more than the fixed header it is required to start with. * * @param data The raw part bytes. */ export declare function parsePrinterSettings(data: Uint8Array): PrinterPageSetup;