import { FindAppEventSubscriptionsQuery } from '@membranehq/sdk'; export declare function useAppEventSubscriptions(query?: FindAppEventSubscriptionsQuery): { items: { id: string; name: string; revision: string; appEventTypeId: string; isSubscribed: boolean; webhookUri: string; subscriptionRequest: { uri: any; method?: import("@membranehq/sdk").HttpRequestMethod | undefined; headers?: Record | undefined; query?: Record | undefined; body?: any; }; userId: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; instanceKey?: string | undefined; schema?: import("@membranehq/sdk").DataSchema | undefined; subscriptionResponse?: any; archivedAt?: string | undefined; tenantId?: string | undefined; appEventType?: { id: string; name: string; revision: string; webhookKey: string; globalWebhookUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; archivedAt?: string | undefined; subscribeRequest?: { uri: any; method?: import("@membranehq/sdk").HttpRequestMethod | undefined; headers?: Record | undefined; query?: Record | undefined; body?: any; } | undefined; example?: any; schema?: import("@membranehq/sdk").DataSchema | undefined; tenantIdFormula?: any; userIdFormula?: any; } | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; }[]; refresh: () => Promise; refreshing: boolean; loadMore: () => Promise; loadingMore: boolean; loading: boolean; error: any; appEventSubscriptions: { id: string; name: string; revision: string; appEventTypeId: string; isSubscribed: boolean; webhookUri: string; subscriptionRequest: { uri: any; method?: import("@membranehq/sdk").HttpRequestMethod | undefined; headers?: Record | undefined; query?: Record | undefined; body?: any; }; userId: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; instanceKey?: string | undefined; schema?: import("@membranehq/sdk").DataSchema | undefined; subscriptionResponse?: any; archivedAt?: string | undefined; tenantId?: string | undefined; appEventType?: { id: string; name: string; revision: string; webhookKey: string; globalWebhookUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; archivedAt?: string | undefined; subscribeRequest?: { uri: any; method?: import("@membranehq/sdk").HttpRequestMethod | undefined; headers?: Record | undefined; query?: Record | undefined; body?: any; } | undefined; example?: any; schema?: import("@membranehq/sdk").DataSchema | undefined; tenantIdFormula?: any; userIdFormula?: any; } | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; }[]; };