/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import type { Instruction } from './Instruction';
/**
 * Open the node config drawer for a node. Call from a card click handler.
 * `ctx` is the flow-engine context (from `useFlowContext()`).
 *
 * `workflow` is threaded in explicitly because the drawer renders at the React
 * root (`ctx.viewer.drawer`), OUTSIDE the canvas `FlowContext.Provider` — so the
 * config form can't read the workflow from the canvas tree. It is re-provided via
 * `CurrentWorkflowContext`, and the legacy canvas `FlowContext` is mirrored with
 * the same workflow so reused v1 hooks still resolve inside migrated drawers.
 */
export declare function openNodeConfigDrawer(opts: {
    ctx: any;
    data: any;
    instruction?: Instruction;
    t: (key: string, options?: Record<string, any>) => string;
    workflow?: any;
    refresh?: () => void;
}): void;
