import { _PdfColorPalette } from './colorspace';
export declare class _PdfBaseColorSpace {
    name: string;
    numComps: number;
    constructor(name: string, numComps: number);
}
export declare class _PdfIccColorSpace extends _PdfColorPalette {
    private transformerId;
    private inType;
    _worker: Worker;
    numComps: number;
    bytes: any;
    _isUsable: boolean;
    constructor(name: string, numComps: number, bytes: any);
    private _resolveBaseUrl;
    _initialize(platform: string): Promise<any>;
    _create(): Promise<_PdfIccColorSpace>;
    dispose(): void;
    _getRgbItem(src: any, srcOffset: number, dest: Uint8Array | Uint8ClampedArray, // eslint-disable-line        
    destOffset: number, css?: boolean): Promise<void>;
    _getRgbBuffer(src: any, srcOffset: number, count: number, dest: any, // eslint-disable-line 
    destOffset: number, bits: number, alpha01: number): Promise<void>;
    _getRgbHex(src: any, srcOffset: number, css?: boolean): Promise<number>;
    _getOutputLength(inputLength: number, alpha01: number): number;
}
