import { z } from "zod"; import { Style } from "@react-pdf/stylesheet"; import { FC } from "react"; type ComponentGetter =
(componentDefinition: ComponentDefinition ;
export type ComponentDefinition ;
component: React.ComponentType<{
spec: T;
styles: S;
globalStyles: any;
getComponent: ComponentGetter;
resolvePath: (path: string) => string;
} & P>;
defaultStyles: S;
};
export declare const defineComponent: