import React, { ReactElement } from "react";
import { VoidFunc, VoidFuncNoParam } from "../../../fd-toolbox/functions/internal-getter-setter-functions";
import { UiResourceMeta } from "../ui-resource-meta";
/**
 * Props for the {@link ViewSheet} component.
 */
export interface ViewSheetProps {
    /** The id to display */
    id?: string;
    /** The name to display */
    resourceName?: string;
    /** The trigger element that opens the sheet when clicked */
    children: ReactElement;
    /** Event handler called when edit action is triggered */
    onEditClick?: VoidFuncNoParam;
    /** Event handler called when need to be refreshed */
    onRefreshItems?: VoidFuncNoParam;
    /** Event handler called when the sheet is closed */
    onCloseClick?: VoidFunc<boolean>;
    /** Metadata about the item being displayed can be added to increase the performance of the component */
    uiResourceMeta?: UiResourceMeta;
}
/**
 * A sheet component that displays views in a sliding panel overlay.
 *
 * This component provides a modal-like interface for {@link View}.

 *
 * @param props - {@link ViewSheetProps}
 *
 * @example
 * ```tsx
    <ViewSheet
        id="123e4567-e89b-12d3-a456-426614174000"
        resourceName="Student"
        onRefreshItems={...}
    >
        <Button variant="outline">View Details</Button>
    </ViewSheet>
 * ```
 */
export declare function ViewSheet({ id: propId, resourceName, children, onEditClick, onRefreshItems, onCloseClick, uiResourceMeta: uiResourceMetaProp, }: ViewSheetProps): React.JSX.Element;
