import type qrcodegen from './qrcodegen';
export type Modules = ReturnType<qrcodegen.QrCode['getModules']>;
export interface Excavation {
    x: number;
    y: number;
    w: number;
    h: number;
}
export interface ImageSettings {
    src: string;
    height: number;
    width: number;
    excavate: boolean;
    x?: number;
    y?: number;
}
export interface QRCodeCanvasColor {
    dark?: string;
    light?: string;
}
export interface QRCodeCanvasOptions {
    version?: number;
    errorCorrectionLevel?: string;
    maskPattern?: number;
    toSJISFunc?: Function;
    margin?: number;
    scale?: number;
    small?: boolean;
    width: number;
    color?: QRCodeCanvasColor;
}
