import { RawPermission } from '../../../permission/core'; import { KauthLang } from '../../../common/locale'; export interface CandidateUser { id: number; name: string; email: string; avatar: string; } export interface WorkflowApproveInnerProps { index: number; currentIndex: number; userId: number; timestamp: number; title?: string; agreed: boolean; refused: boolean; candidateUserNames?: string[]; candidateUsers?: CandidateUser[]; locale?: KauthLang; } export declare function candidateGroup2permission(candidateGroup: string): RawPermission; export declare function isBase64PermissionLike(candidateGroup: string): boolean; export declare function formatUsers(candidateUsers: any[], candidateUserNames: string[]): Array<{ name: string; avatar: string; }> | null; export declare function calculateApprovalStatus(elements: any, currentIndex: number, locale?: string, agreedText?: string, refusedText?: string): any;