/** @packageDocumentation
 * @module Popup
 */
import "./CardPopup.scss";
import * as React from "react";
import type { CommonToolbarItem, OnCancelFunc, OnItemExecutedFunc, PropertyRecord, RelativePosition } from "@itwin/appui-abstract";
import type { Orientation } from "@itwin/core-react";
import { Size } from "@itwin/core-react";
import type { PopupContentType, PopupPropsBase } from "./PopupManager";
/** Props for defining a CardPopup editor
 * @beta */
export interface CardPopupProps extends PopupPropsBase {
    content: PopupContentType;
    title: string | PropertyRecord | undefined;
    items: CommonToolbarItem[] | undefined;
    relativePosition: RelativePosition;
    orientation: Orientation;
    onCancel: OnCancelFunc;
    onItemExecuted: OnItemExecutedFunc;
}
/** @internal */
interface CardPopupState {
    size: Size;
}
/** Popup component for Input Editor
 * @beta
 */
export declare class CardPopup extends React.PureComponent<CardPopupProps, CardPopupState> {
    /** @internal */
    readonly state: {
        size: Size;
    };
    private _onSizeKnown;
    private _handleKeyDown;
    private _cancel;
    render(): JSX.Element;
}
/** Props defining a Card component
 * @beta */
export interface CardProps {
    content: PopupContentType;
    title: string | PropertyRecord | undefined;
    items: CommonToolbarItem[] | undefined;
    onItemExecuted: OnItemExecutedFunc;
}
/** Card component
 * @beta */
export declare function Card(props: CardProps): JSX.Element;
export {};
//# sourceMappingURL=CardPopup.d.ts.map