import { SvelteComponentTyped } from "svelte"; import type { PrintTemplate } from "@sv-print/hiprint"; import type { PreviewShowOptions } from "./types"; declare const __propDef: { props: { printTemplate?: PrintTemplate | Object; printData?: any; printerList?: Array; selectedPrinter?: string; showPdf?: boolean; showImg?: boolean; showPrint2?: boolean; showPrint?: boolean; modalShow?: boolean; setConfig?: (options: any) => void; init?: (template?: PrintTemplate, data?: Record) => void; show?: (data?: any, opts?: PreviewShowOptions) => Promise; hide?: () => void; getTemplate?: () => Object | PrintTemplate; }; events: { [evt: string]: CustomEvent; }; slots: { header: {}; leftActions: {}; rightActions: {}; }; }; export type PreviewProps = typeof __propDef.props; export type PreviewEvents = typeof __propDef.events; export type PreviewSlots = typeof __propDef.slots; export default class Preview extends SvelteComponentTyped { get setConfig(): (options: any) => void; get init(): (template?: PrintTemplate, data?: Record) => void; get show(): (data?: any, opts?: PreviewShowOptions) => Promise; get hide(): () => void; get getTemplate(): () => Object | PrintTemplate; } export {};