import { VNode } from 'vue'; import { PageLayout, PageMode, PDFVersion, Style, SourceObject, SVGPresentationAttributes } from '@react-pdf/types'; interface NodeProps { id?: string; style?: Style | Style[]; fixed?: boolean; break?: boolean; minPresenceAhead?: number; } export interface DocumentProps { style?: Style | Style[]; title?: string; author?: string; subject?: string; creator?: string; keywords?: string; producer?: string; language?: string; creationDate?: Date; modificationDate?: Date; pdfVersion?: PDFVersion; pageMode?: PageMode; pageLayout?: PageLayout; onRender?: (props: any) => any; } export declare const Document: any; export declare const Page: any; export interface ViewProps extends NodeProps { wrap?: boolean; debug?: boolean; render?: (props: { pageNumber: number; subPageNumber: number; }) => VNode; } export declare const View: any; export interface TextProps extends NodeProps { wrap?: boolean; debug?: boolean; render?: (props: { pageNumber: number; totalPages: number; subPageNumber: number; subPageTotalPages: number; }) => VNode; orphans?: number; widows?: number; } export declare const Text: any; export interface BaseImageProps extends NodeProps { debug?: boolean; cache?: boolean; } export interface ImageWithSrcProp extends BaseImageProps { src: SourceObject; } export interface ImageWithSourceProp extends BaseImageProps { source: SourceObject; } export type ImageProps = ImageWithSrcProp | ImageWithSourceProp; export declare const Image: any; export declare const Link: any; export declare const Note: any; export declare const Canvas: any; export interface SVGProps extends NodeProps, SVGPresentationAttributes { debug?: boolean; width?: string | number; height?: string | number; viewBox?: string; preserveAspectRatio?: string; } export declare const Svg: any; export interface LineProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; x1: string | number; x2: string | number; y1: string | number; y2: string | number; } export declare const Line: any; export interface PolylineProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; points: string; } export declare const Polyline: any; export interface PolygonProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; points: string; } export declare const Polygon: any; export interface PathProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; d: string; } export declare const Path: any; export interface RectProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; x?: string | number; y?: string | number; width: string | number; height: string | number; rx?: string | number; ry?: string | number; } export declare const Rect: any; export interface CircleProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; cx?: string | number; cy?: string | number; r: string | number; } export declare const Circle: any; export interface EllipseProps extends SVGPresentationAttributes { style?: SVGPresentationAttributes; cx?: string | number; cy?: string | number; rx: string | number; ry: string | number; } export declare const Ellipse: any; export interface TspanProps extends SVGPresentationAttributes { style?: never; x?: string | number; y?: string | number; } export declare const Tspan: any; export interface GProps extends SVGPresentationAttributes { style?: Style; } export declare const G: any; export interface StopProps { style?: never; offset: string | number; stopColor: string; stopOpacity?: string | number; } export declare const Stop: any; export interface DefsProps { } export declare const Defs: any; export interface ClipPathProps { style?: never; id?: string; } export declare const ClipPath: any; export interface LinearGradientProps { style?: never; id: string; x1?: string | number; x2?: string | number; y1?: string | number; y2?: string | number; xlinkHref?: string; gradientTransform?: string; gradientUnits?: 'userSpaceOnUse' | 'objectBoundingBox'; } export declare const LinearGradient: any; export interface RadialGradientProps { style?: never; id: string; cx?: string | number; cy?: string | number; r?: string | number; fx?: string | number; fy?: string | number; xlinkHref?: string; gradientTransform?: string; gradientUnits?: 'userSpaceOnUse' | 'objectBoundingBox'; } export declare const RadialGradient: any; export {};