/**
 * 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.
 */
export type WorkflowRevision = {
    id: number | string;
    createdAt?: string;
    current?: boolean;
    enabled?: boolean;
    versionStats?: {
        executed?: number;
    };
};
export type WorkflowCanvasRecord = {
    id?: number | string;
    key?: string;
    title?: string;
    type?: string;
    sync?: boolean;
    enabled?: boolean;
    current?: boolean;
    description?: string;
    createdAt?: string;
    updatedAt?: string;
    createdBy?: any;
    updatedBy?: any;
    stats?: {
        executed?: number;
    };
    versionStats?: {
        executed?: number;
    };
    [key: string]: any;
};
export declare function normalizeRecordResponse(response: any): WorkflowCanvasRecord | null;
export declare function formatUser(user: any): any;
export declare function formatTime(value?: string): string;
