interface NativeBindings {
    LiteParse: new (config?: LiteParseNativeConfig) => LiteParseNative;
    searchItems(items: NativeTextItem[], phrase: string, caseSensitive?: boolean | null): NativeTextItem[];
}
export interface LiteParseNativeConfig {
    ocrLanguage?: string;
    ocrEnabled?: boolean;
    ocrServerUrl?: string;
    tessdataPath?: string;
    maxPages?: number;
    targetPages?: string;
    dpi?: number;
    outputFormat?: string;
    preserveVerySmallText?: boolean;
    password?: string;
    quiet?: boolean;
    numWorkers?: number;
}
export interface NativeTextItem {
    text: string;
    x: number;
    y: number;
    width: number;
    height: number;
    fontName?: string;
    fontSize?: number;
    confidence?: number;
}
export interface NativeParsedPage {
    pageNum: number;
    width: number;
    height: number;
    text: string;
    textItems: NativeTextItem[];
}
export interface NativeParseResult {
    pages: NativeParsedPage[];
    text: string;
}
export interface NativeScreenshotResult {
    pageNum: number;
    width: number;
    height: number;
    imageBuffer: Buffer;
}
export interface LiteParseNative {
    parse(input: string | Buffer): Promise<NativeParseResult>;
    screenshot(input: string | Buffer, pageNumbers?: number[] | null): Promise<NativeScreenshotResult[]>;
    format(result: NativeParseResult): string;
    readonly config: LiteParseNativeConfig;
}
export declare const native: NativeBindings;
export {};
//# sourceMappingURL=native.d.ts.map