import React from 'react';
import { type MessageDescriptor } from 'react-intl-next';
import { type Prettify } from '@atlaskit/linking-common';
import { SmartLinkStatus } from '../../../../../constants';
export type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DENIED_REQUEST_EXISTS' | 'ACCESS_EXISTS' | undefined;
export type CustomStatusComponents = Partial<Record<NonNullable<AccessType> | 'FALLBACK', MessageDescriptor>>;
type ErrorStatus = Extract<SmartLinkStatus, SmartLinkStatus.Forbidden | SmartLinkStatus.Unauthorized>;
type CustomUnresolvedActionProps = Prettify<{
    Container?: React.ComponentType<{
        children: React.ReactNode;
    }>;
    onlyShowIfAction?: boolean;
    testId?: string;
} & Partial<Record<ErrorStatus, CustomStatusComponents>>>;
declare const CustomUnresolvedAction: ({ testId, onlyShowIfAction, Container, ...props }: CustomUnresolvedActionProps) => JSX.Element | null;
export default CustomUnresolvedAction;
