import * as React from 'react';
export interface Props {
    /**
     * Whether the result container's children are visible by default.
     * The header is always visible even when the component is not expanded.
     */
    defaultExpanded?: boolean;
    /**
     * Whether the result container can be collapsed. If false, its children
     * are always displayed, and no expand/collapse actions are shown.
     */
    collapsible?: boolean;
    /**
     * The icon to show left to the title.
     */
    icon: React.ComponentType<{
        className?: string;
    }>;
    /**
     * The title component.
     */
    title: React.ReactFragment;
    /**
     * CSS class name to apply to the title element.
     */
    titleClassName?: string;
    /**
     * The content of the result displayed underneath the result container's
     * header when collapsed.
     */
    collapsedChildren?: React.ReactFragment;
    /**
     * The content of the result displayed underneath the result container's
     * header when expanded.
     */
    expandedChildren?: React.ReactFragment;
    /**
     * The label to display next to the collapse button
     */
    collapseLabel?: string;
    /**
     * The label to display next to the expand button
     */
    expandLabel?: string;
    /**
     * This component does not accept children.
     */
    children?: never;
    /** Expand all results */
    allExpanded?: boolean;
}
interface State {
    /**
     * Whether this result container is currently expanded.
     */
    expanded?: boolean;
}
/**
 * The container component for a result in the SearchResults component.
 */
export declare class ResultContainer extends React.PureComponent<Props, State> {
    constructor(props: Props);
    componentWillReceiveProps(nextProps: Props): void;
    render(): JSX.Element | null;
    private toggle;
}
export {};
//# sourceMappingURL=ResultContainer.d.ts.map