/**
 * Copyright (c) Adaptavist, Inc.
 */
import { GenericProps } from '@/src/utilities';
import { ComponentPropsWithoutRef } from 'react';
export declare type IAccordionType = 'default' | 'stepper';
export interface IAccordion extends Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> {
    /**
     * If true, accordion will only open a panel at a time. Default is `false`
     */
    collapse?: boolean;
    /**
     * The active panel key in a group of Accordions
     */
    activeKey?: string;
    /**
     * Callback function executed when active panel is changed
     */
    onChange?: (key?: string) => void;
    /**
     * The type of Accordion to be displayed
     */
    type?: IAccordionType;
}
export interface IAccordionPanel extends React.HtmlHTMLAttributes<HTMLElement>, GenericProps {
    header?: React.ReactNode;
    /**
     * Unique key identifying the panel from among its siblings
     */
    panelKey: string;
    /**
     * If false, panel will not show arrow icon
     */
    showArrow?: boolean;
    /**
     * Specify whether the panel is clickable.
     */
    disabled?: boolean;
    /**
     * The value provided will only be applied if the accordion type is `stepper`
     */
    status?: 'done' | 'error';
}
