import { CustomActionTask, CustomActionTaskParams, CustomActionConfig, CustomActionViewConfig, CustomScriptExtension, Entity } from '@reltio/mdm-sdk';
export type ProcessRequestParams = {
    params: CustomActionTaskParams;
    permissions?: string[];
    worker: Worker;
    metadata: any;
    config: CustomActionConfig | CustomActionViewConfig | CustomScriptExtension;
    user: any;
    apiPath: string;
    workflowPath?: string;
    environment: string;
    entity: any;
    tenant: any;
    servicesPath: string;
    entityUri: string;
    query: any;
    openSearch: (search: any) => void;
    workflowCheckPermission: (permission?: string) => boolean;
    getCurrentPerspectiveId: () => string;
    showPerspective: (perspective: any) => void;
    setEntityUri: (entityUri: string, listener: (entity: Entity) => void) => void;
};
export type Request = Omit<CustomActionTask, 'params'> & {
    params: CustomActionTaskParams;
};
