import { GlobalLibraryPermission } from '@vizzly/api-client';
import { Component } from '../Component/types';
import { GlobalLibrary } from '../GlobalLibrary/types';
export declare function tokenForLibrary(globalLibraryPermissions: GlobalLibraryPermission[], updatedGlobalLibraries: GlobalLibrary.Base[]): string;
export declare function update(globalLibraries: GlobalLibrary.Base[], componentAdded: Component, customFields: GlobalLibrary.CustomFields): GlobalLibrary.Base;
export declare const remove: (globalLibraries: GlobalLibrary.Base[], componentDeleted: Component) => GlobalLibrary.Base;
export declare function strategy(globalLibraries: GlobalLibrary.Base[]): GlobalLibrary.Base;
export declare function libraryByViewId(globalLibraries: GlobalLibrary.Base[], viewId?: string): GlobalLibrary.Base | undefined;
export declare const getChildGlobalLibraries: (globalLibraries: GlobalLibrary.Base[]) => GlobalLibrary.Base[];
export declare const getParentGlobalLibrary: (globalLibraries: GlobalLibrary.Base[]) => GlobalLibrary.Base | undefined;
