import { MiniCanvas } from '../../../types/openapi'; import { SfAccountMini, SfEvent, SfUser } from '../../types/sfdc'; import { ComputedRef } from 'vue'; export declare function extractFieldNamesFromCondition(condition: string): string[]; export declare function evaluateIsExecutedCondition(condition: string | undefined, event: any): boolean; /** * Evaluates is_executed_condition for PascalCase event objects. * This function handles events where field names have been converted to PascalCase * (e.g., Status_vod__c -> StatusVodC) but the condition still uses snake_case field names. * * @param condition - The condition string (e.g., "Status_vod__c = 'Submitted_vod'") * @param event - The event object with PascalCase properties (e.g., { StatusVodC: "Submitted_vod" }) * @returns true if the event is executed/submitted, false otherwise */ export declare function evaluateIsExecutedForPascalCaseEvent(condition: string | undefined, event: any): boolean; export declare function getEventColor(sfEvent: SfEvent): string; export declare const minFutureDate: (date?: Date) => Date; export declare const minPastDate: (date?: Date) => Date; export declare const setDateTime: (date: number | Date) => number; export declare const isPastMaxDate: (date: number | Date, afterDate: number | Date) => boolean; export declare const isBeforeMinDate: (date: number | Date, beforeDate: number | Date) => boolean; export declare const DATE_TIME_FORMAT = "yyyy / MM / dd - HH:mm"; export declare const MIN_DIFFERENCE_IN_MINUTES = 15; export interface BaseEventForm { title: string; notes: string; event: { start: number | null; end: number | null; }; account: ComputedRef; contacts: ComputedRef; users: ComputedRef; canvas: MiniCanvas; } export interface PostCallForm extends BaseEventForm { account: ComputedRef; contacts: ComputedRef; users: ComputedRef; }