import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** * The level of error correction to use for the QR code. Defaults to `L` if not provided. */ export declare const Level: { readonly L: "L"; readonly M: "M"; readonly Q: "Q"; readonly H: "H"; }; /** * The level of error correction to use for the QR code. Defaults to `L` if not provided. */ export type Level = ClosedEnum; export type GetQRCodeRequest = { /** * The URL to generate a QR code for. */ url: string; /** * The logo to include in the QR code. Can only be used with a paid plan on Dub. */ logo?: string | undefined; /** * The size of the QR code in pixels. Defaults to `600` if not provided. */ size?: number | undefined; /** * The level of error correction to use for the QR code. Defaults to `L` if not provided. */ level?: Level | undefined; /** * The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. */ fgColor?: string | undefined; /** * The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. */ bgColor?: string | undefined; /** * Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub. */ hideLogo?: boolean | undefined; /** * The size of the margin around the QR code. Defaults to 2 if not provided. */ margin?: number | undefined; /** * DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size. */ includeMargin?: boolean | undefined; }; /** @internal */ export declare const Level$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetQRCodeRequest$Outbound = { url: string; logo?: string | undefined; size: number; level: string; fgColor: string; bgColor: string; hideLogo: boolean; margin: number; includeMargin: boolean; }; /** @internal */ export declare const GetQRCodeRequest$outboundSchema: z.ZodType; export declare function getQRCodeRequestToJSON(getQRCodeRequest: GetQRCodeRequest): string; //# sourceMappingURL=getqrcode.d.ts.map