import { PropsWithChildren } from 'react';
/**
* Button to add and remove a saved property.
*
* @example
* ```
* }
* loadingInner={}
* >
*
*
* ```
*/
interface Props extends PropsWithChildren {
propertyId: number | null;
channel: string | null;
className?: string;
/** The inner content/children of the button when the property is saved */
savedInner?: React.ReactNode;
/** The inner content/children of the button while waiting for response after saving/unsaving */
loadingInner?: React.ReactNode;
onAdd?: () => void;
}
export default function SavePropertyButton({ propertyId, channel, className, savedInner, loadingInner, onAdd, children, }: Props): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=save-property-button.component.d.ts.map