import { ExternalEventSubscription, ExternalEventSubscriptionAccessor } from '@integration-app/sdk'; export declare function useExternalEventSubscription(id: string | undefined): { loading: boolean; saving: boolean; error: any; refreshing: boolean; create: (data: undefined) => Promise; patch: (data: undefined) => Promise; put: (data: undefined) => Promise; archive: () => Promise; externalEventSubscription: ExternalEventSubscription | undefined; accessor: ExternalEventSubscriptionAccessor | undefined; refresh: () => Promise; setup: () => Promise; subscribe: () => Promise; resubscribe: () => Promise; unsubscribe: () => Promise; pullEvents: () => Promise; };