import React from 'react';
import { ItemResultProps } from '@/lib/types/item';
import { ConditionType, ListItemType, NodeItemProps } from '@/lib/types/workflow';
interface FlowButtonProps {
    itemId: string;
    loading: boolean;
    text: string;
    screenId: string;
    item: ItemResultProps;
    authRoles: ListItemType[] | undefined;
    authUsers: ListItemType[] | undefined;
    authGroups: ListItemType[] | undefined;
    authUserFields: ListItemType[] | undefined;
    scriptValidator: string;
    userId: string;
    roleIds: string[];
    groupIds: string[];
    currentTaskId: string;
    conditions?: ConditionType[];
    handleTransition: (updateTask: string, screenId: string, script: string) => void;
    target: NodeItemProps & {
        type?: string;
    };
    hiddenPopover?: () => void;
}
declare const _default: React.NamedExoticComponent<FlowButtonProps>;
export default _default;
