import { VertesiaClient } from "@vertesia/client";
import { ToastFn } from "@vertesia/ui/core";
import { DocumentSearch, DocumentSelection } from "../../../store";
export interface ObjectsActionSpec {
    id: string;
    name: string;
    description?: string;
    confirm?: boolean;
    confirmationText?: string;
    component: ActionComponentType;
    hideInList?: boolean;
    destructive?: boolean;
}
export interface ObjectsActionParams {
    action: ObjectsActionSpec;
    client: VertesiaClient;
    selection: DocumentSelection;
    toast: ToastFn;
    search: DocumentSearch;
}
export interface ActionComponentTypeProps {
    action: ObjectsActionSpec;
    objectIds: string[];
    children?: React.ReactNode;
    collectionId?: string;
}
export type ActionComponentType = React.ComponentType<ActionComponentTypeProps>;
//# sourceMappingURL=ObjectsActionSpec.d.ts.map