import type * as OpenFin from '../OpenFin'; import { AuthorizationPayload } from '../transport/transport'; export interface ProtocolMap extends ProtocolMapBase { 'request-external-authorization': { request: any; response: void; specialResponse: AuthorizationPayload; }; 'application-get-views': { request: OpenFin.ApplicationIdentity; response: OpenFin.Identity[]; }; 'set-jump-list': { request: { config: OpenFin.JumpListCategory[] | null; } & OpenFin.ApplicationIdentity; response: void; }; 'get-view-window': IdentityCall<{}, OpenFin.Identity>; 'create-view': IdentityCall; 'destroy-view': IdentityCall; 'attach-view': IdentityCall<{ target: OpenFin.Identity; }>; 'set-view-bounds': IdentityCall<{ bounds: OpenFin.Bounds; }>; 'get-view-bounds': IdentityCall<{}, OpenFin.Bounds>; 'get-view-info': IdentityCall<{}, OpenFin.ViewInfo>; 'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>; 'hide-view': IdentityCall; 'show-view': IdentityCall; 'update-view-options': IdentityCall<{ options: OpenFin.UpdatableViewOptions; }>; 'trigger-before-unload': IdentityCall<{}, boolean>; 'window-get-views': IdentityCall<{}, OpenFin.Identity[]>; 'print': { request: OpenFin.Identity & { options: OpenFin.PrintOptions; }; response: void; }; 'print-screenshot': { request: OpenFin.Identity; response: void; }; 'print-views': { request: OpenFin.Identity & { options: OpenFin.WindowViewsPrintOptions; }; response: void; }; 'launch-manifest': { request: { manifestUrl: string; opts?: Omit & { appVersionId?: string; }; }; response: { manifest: OpenFin.Manifest; }; }; 'get-system-app-configuration': { request: { name: string; }; response: any; }; 'show-popup-menu': { request: OpenFin.Identity & { options: OpenFin.ShowPopupMenuOptions; }; response: OpenFin.MenuResult; }; 'enable-native-window-integration-provider': { request: { permissions: any; }; response: OpenFin.NativeWindowIntegrationProviderAuthorization; }; 'get-permissions': GetterCall; 'get-all-channels': GetterCall; 'set-file-download-location': { request: OpenFin.Identity & { downloadLocation: string; }; response: void; }; 'get-file-download-location': { request: OpenFin.ApplicationIdentity; response: string; }; 'close-popup-menu': IdentityCall; 'fdc3-add-context-listener': VoidCall; 'fdc3-broadcast': VoidCall; 'fdc3-get-system-channels': VoidCall; 'fdc3-join-channel': VoidCall; 'fdc3-leave-current-channel': VoidCall; 'interop-connect-sync': VoidCall; 'interop-client-set-context': VoidCall; 'interop-client-add-context-handler': VoidCall; 'interop-client-get-context-groups': VoidCall; 'interop-client-join-context-group': VoidCall; 'interop-client-remove-from-context-group': VoidCall; 'interop-client-get-all-clients-in-context-group': VoidCall; 'interop-client-get-info-for-context-group': VoidCall; 'interop-broker-add-client-to-context-group': VoidCall; 'interop-broker-get-all-clients-in-context-group': VoidCall; 'interop-broker-get-context-groups': VoidCall; 'interop-broker-get-info-for-context-group': VoidCall; 'interop-broker-is-action-authorized': VoidCall; 'interop-broker-is-connection-authorized': VoidCall; 'interop-broker-join-context-group': VoidCall; 'interop-broker-remove-client-from-context-group': VoidCall; 'interop-broker-remove-from-context-group': VoidCall; 'interop-broker-set-context': VoidCall; 'query-permission-for-current-context': { request: { apiName: string; identity: OpenFin.Identity; }; response: OpenFin.QueryPermissionResult; }; 'try-create-popup-window': { request: OpenFin.Identity & { options: OpenFin.PopupOptions; }; response: { willOpen: boolean; options: OpenFin.PopupOptions; }; }; 'show-popup-window': { request: OpenFin.Identity & { options: OpenFin.PopupOptions; }; response: OpenFin.PopupResult; }; 'dispatch-popup-result': IdentityCall<{ data: any; }>; 'render-overlay': { request: { bounds: OpenFin.Bounds; }; response: void; }; 'set-overlay-style': { request: { style: Partial; }; response: void; }; 'detach-overlay': VoidCall; 'set-ignore-all-view-mouse-events': { request: { enabled: boolean; }; response: void; }; 'system-get-printers': GetterCall; 'system-register-shutdown-handler': VoidCall; } type ApiCall = { request: Request; response: Response; }; type VoidCall = ApiCall; type GetterCall = ApiCall; type IdentityCall = ApiCall; interface ProtocolMapBase { [action: string]: { request: any; response: any; specialResponse?: any; }; } export {};