import type { ProductType } from '@atlaskit/linking-common';
import type { CardActionOptions } from '../../../view/Card/types';
export interface BlockCardRovoActionExperiment {
    /**
     * True when the user is in the treatment cohort and should see the
     * inline action nudge UI. All treatment surfaces should gate on this.
     */
    isEnabled: boolean;
}
/**
 * Returns whether the platform_sl_3p_auth_rovo_block_card_jira or platform_sl_3p_auth_rovo_block_card_confluence experiment
 * is enabled for the current user and link context.
 *
 * All eligibility criteria are consolidated here:
 * 1. Rovo chat must be enabled for the tenant.
 * 2. The consumer must have opted in via actionOptions.rovoChatAction.optIn.
 * 3. The link must support the RovoActions feature.
 * 4. The extension key must be one of the supported options.
 * 5. The experiment value must be true (via tmp-editor-statsig).
 *
 * The extension key is derived from the card store via the resolved URL,
 * so callers don't need to thread it as a prop.
 */
declare const useBlockCardRovoActionExperiment: (url?: string, actionOptions?: CardActionOptions) => BlockCardRovoActionExperiment;
export declare const isBlockCardRovoActionExperimentEnabled: (product?: ProductType) => boolean;
export declare const useBlockCardRovoActionExperimentNoExposure: () => boolean;
export default useBlockCardRovoActionExperiment;
