import { SxProps, Theme } from '@mui/material';
export type HasAccessProps = {
    onHide?: () => void;
    entityId: string;
    className?: string;
    showButtonText?: boolean;
    wrap?: boolean;
    /**
     * If true, the component will show enhanced UI for the case where
     * - the entity is a FileEntity, AND
     * - the caller has permission to fetch the dataFileHandle, AND
     * - the dataFileHandle is an instance of ExternalFileHandleInterface (i.e. the file is not controlled by Synapse)
     * Note that this requires an additional API call that cannot be batched, so it should be avoided in bulk  contexts if possible.
     * @default false
     */
    showExternalAccessIcon?: boolean;
    sx?: SxProps<Theme>;
};
/**
 * HasAccess shows if the user has access to the file or not. If the user doesn't have access due to a restriction,
 * then a link will be shown that opens a modal with steps to request access.
 */
export declare function HasAccessV2(props: HasAccessProps): import("react/jsx-runtime").JSX.Element;
export default HasAccessV2;
//# sourceMappingURL=HasAccessV2.d.ts.map