/// <reference types="react" />
import type { QRCodeRenderersOptions } from 'qrcode';
import type { string_url_image } from '../../types/string_url_image';
/**
 * Options for qr code.
 */
export type QrCodeOptions = QRCodeRenderersOptions & {
    value: string | number;
    logoSrc?: string_url_image;
};
/**
 * Uses qr code.
 *
 * @private utility of QR code components
 */
export declare function useQrCode(options: QrCodeOptions): {
    canvasRef: import("react").RefObject<HTMLCanvasElement | null>;
};
