import { status } from '@synnaxlabs/client'; import { record } from '@synnaxlabs/x'; import { ReactElement, ReactNode } from 'react'; import { z } from 'zod'; import { Dialog as BaseDialog } from '../dialog'; import { List } from '../list'; import { SearchInputProps } from './SearchInput'; import { Status } from '../status/base'; /** Props for {@link Dialog}. */ export interface DialogProps extends Omit, Omit, Pick, "emptyContent" | "children"> { status?: status.Status; resourceName: string; /** Pinned below the scrollable list; stays visible regardless of list length. */ footer?: ReactNode; } /** Props for the content shown when a selection has nothing to offer. */ export interface DefaultEmptyContentProps extends Status.SummaryProps { resourceName: string; } /** * The dropdown of a selection: its search field, its list, and its empty and error * content. It sizes the list to whole rows, so its growth animates. */ export declare const Dialog: { ({ onSearch, children, emptyContent, status, resourceName, actions, footer, className, ...rest }: DialogProps): ReactElement; displayName: string; }; //# sourceMappingURL=Dialog.d.ts.map