import * as i0 from "@angular/core"; export declare class CommonService { datePickerObject: { event: null; class: string; popup: null; component: null; overlay: boolean; }; handleDocumentClick(datePickerObject: any): boolean; private closeDatePickerIfOpen; /** * Transforms program data to identify added and removed program IDs. * This method compares the current program selection with previously linked programs * to determine which programs have been added or removed. * * @param input - An object containing program selections, where each key represents a category * and its value is an array of program objects with an 'id' property. * @param linkedProgramIds - Array of previously linked program IDs * * @returns An object containing: * - added: Array of program IDs that are newly selected * - removed: Array of program IDs that were previously linked but are no longer selected * * @example * // If input is { category1: [{id: 1}, {id: 2}], category2: [{id: 3}] } * // And linkedProgramIds is [1, 4] * // Returns { added: [2, 3], removed: [4] } */ transformProgramData(input: Record>, linkedProgramIds?: string[]): { added: string[]; removed: string[]; }; transformResponsibilitiesData(currentResponsibilityIds: number[], linkedResponsibilityIds?: number[]): { added: number[]; removed: number[]; }; setPagination(res: any): { responsibilities_from: number; responsibilities_to: number; total_responsibilities: any; total_pages: number; current_page: any; per_page: any; total_count: any; }; /** * Post Message to parent window * @param message */ postMessageToParent(message: any): void; private getOrigin; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }