export interface QrcodeRule {
    enabled?: boolean;
}
export interface GetImageOptions {
    text: string;
    size?: number;
    colorDark?: string;
    colorLight?: string;
}
export default function generate(rules?: QrcodeRule[]): {
    getImageByText: (text: string) => Promise<string>;
    getImage: ({ text, size, colorDark, colorLight }: GetImageOptions) => Promise<string>;
};
