import { BaseLayoutProps } from "@iyio/common"; export interface GenImgProps { salt?: string; prompt?: string; src?: string; metadata?: Record; artStyle?: string; children?: any; aspectRatio?: number | string; sq?: boolean; landscape?: boolean; portrait?: boolean; perUser?: boolean; flatBottom?: boolean; flatTop?: boolean; flatLeft?: boolean; flatRight?: boolean; maxPromptLength?: number; borderRadius?: string; loadingBackground?: string; loadingBorder?: string; genEndpoint?: string; disableCaching?: boolean; onBlob?: (blob: Blob | null) => void; } /** * Displays an AI generated image based on a prompt */ export declare function GenImg({ /** * If true each user will have a different version of the image generated. */ perUser, salt, /** * The prompt used to generate the image */ prompt, sq, landscape, portrait, src: srcProp, aspectRatio, children, flatBottom, flatTop, flatLeft, flatRight, metadata, artStyle, maxPromptLength, borderRadius, loadingBackground, loadingBorder, genEndpoint, disableCaching, onBlob, ...props }: GenImgProps & BaseLayoutProps): import("react/jsx-runtime").JSX.Element; export declare const renderGenImg: (props: GenImgProps & BaseLayoutProps) => import("react/jsx-runtime").JSX.Element;