import { default as React } from 'react';
export type AskAiCfoNavButtonProps = {
    /**
     * Passed to data-testid. Defaults preserve existing dashboard tests.
     * @default "dashboard-ask-ai-cfo-button"
     */
    dataTestId?: string;
    /** When false, skips Lottie fetch and uses the static icon. @default true */
    enableAnimation?: boolean;
    /**
     * When true, forces icon-only (collapsed label). Mobile and tablet viewports
     * always use collapsed label regardless of this prop.
     */
    isCompact?: boolean;
    onClick: () => void;
};
/**
 * Shared "Ask AI CFO" nav action (dashboard search row, reports download row, etc.).
 */
export default function AskAiCfoNavButton({ dataTestId, enableAnimation, isCompact: isCompactProp, onClick, }: AskAiCfoNavButtonProps): React.ReactElement;
export type AskAiCfoNavButtonWhenEnabledProps = {
    isAiCfoAccessEnabled?: boolean;
    onAskAiCfoClick?: () => void;
} & Omit<AskAiCfoNavButtonProps, "onClick">;
/**
 * Renders AskAiCfoNavButton when access is enabled and a click handler is provided; otherwise null.
 */
export declare function AskAiCfoNavButtonWhenEnabled({ isAiCfoAccessEnabled, onAskAiCfoClick, dataTestId, enableAnimation, isCompact, }: AskAiCfoNavButtonWhenEnabledProps): React.ReactElement | null;
