import type { Call } from '@stream-io/video-client'; export declare const KEEP_CALL_ALIVE_HEADLESS_TASK_NAME = "StreamVideoKeepCallAlive"; /** * The keep-alive headless task needs access to the active `Call` instance. * The keep-alive hook will set this reference before starting the native service. */ export declare const keepCallAliveCallRef: { current: Call | undefined; }; /** * Ends the currently running keep-alive headless task. * * The task's promise is app-provided (`foregroundService.android.taskToRun`) and by default never * resolves, so stopping the native service alone would leave the task registered in * `HeadlessJsTaskContext` forever - which keeps RN's timer choreographer callback posted for the * rest of the process lifetime. Resolving it here lets React Native unwind the task properly. */ export declare const endKeepCallAliveHeadlessTask: () => void; //# sourceMappingURL=keepCallAliveHeadlessTask.d.ts.map