import { FC, HTMLAttributes } from 'react'; import { Gradient, Options, PVSystemRequestParams, PVSystemResponse, RooftopGeometryResponse, Theme } from '../../types'; export declare const PVSystemDesigner: FC; export interface PVSystemDesignerProps extends HTMLAttributes { /** * Class names to apply to the PV System Designer's container. */ className?: string; /** * The response from the `POST Find or Create a Rooftop Geometry` endpoint. */ rooftopGeometryResponse?: RooftopGeometryResponse; /** * The response from the `POST PV System` endpoint. */ pvSystemResponse?: PVSystemResponse; /** * The request body for the `POST PV System` endpoint. */ pvSystemRequestParams?: PVSystemRequestParams; /** * A callback function to be performed when one of the `POST PV System` parameters is changed. */ onPVSystemRequestParamsChange?: (pvSystemRequestParams: PVSystemRequestParams) => void; /** * User interface options for the PV System Designer. */ options?: Options; /** * A callback function to be performed when one of the user interface options changes. */ onOptionsChange?: (options: Options) => void; /** * A callback function invoked when the user completes adjusting the alignment offset. */ onAlignmentOffsetComplete?: (options: Options) => void; /** * If true, show a non-editable version of the PV system. */ showPresentationView?: boolean; /** * If true, show only the satellite and SVG images, without sidebars. This will behave * like presentation view, but without the left bar or the bottom system information. */ showImagesOnly?: boolean; /** * If true, hide the PV System Designer's loading spinner. */ suppressLoadingSpinner?: boolean; /** * If true, hide satellite imagery attribution. */ hideAttribution?: boolean; /** * DEPRECATED: Use `gradient` instead (and consider combining with `theme`). * If true, use the alternate theme for the PV System Designer. */ alternateTheme?: boolean; /** * The theme to use for the PV System Designer. */ theme?: Theme; /** * The gradient to use for the PV System Designer. */ gradient?: Gradient; /** * To show the irradiance view in the PV System Designer */ showIrradiance?: boolean; }