/** * 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 { ActionProps } from '@nocobase/client'; import React from 'react'; import { RegisterChannelOptions } from './types'; export declare const useCreateActionProps: () => { type: string; onClick(e?: any, callBack?: any): Promise; }; export declare const useEditActionProps: () => { type: string; onClick(e?: any, callBack?: any): Promise; }; export declare const useEditFormProps: () => { form: import("@formily/core").Form; }; export declare const useRecordEditActionProps: () => { style: React.CSSProperties; }; export declare const useRecordDeleteActionProps: () => { style: React.CSSProperties; onClick(e?: any, callBack?: any): Promise; }; export declare const useCreateFormProps: () => { form: import("@formily/core").Form<{ name: string; notificationType: string; }>; }; export declare const useCloseActionProps: () => { type: string; onClick(): void; }; export declare function useDeleteActionProps(): ActionProps; export declare const NotificationVariableContext: React.Context; export declare const useNotificationVariableOptions: () => { scope: any[]; }; export declare const NotificationVariableProvider: ({ value, children }: { value: any; children: any; }) => React.JSX.Element; export declare const useNotificationTypes: () => RegisterChannelOptions[]; export declare const useIsEditable: () => { form: import("@formily/core").Form; };