import { type Call } from '@stream-io/video-client'; import type { RingingCallLifecycleHooks } from '../StreamVideoRN/types'; export declare const setRingingCallLifecycleHooks: (next: RingingCallLifecycleHooks) => void; /** * Runs the app's pre-join setup, bounded by the deadline. * * Rejecting fails the join closed - joining without whatever this installs would * publish unencrypted media on a call the user believes is private. */ export declare const beforeJoin: (call: Call) => Promise; /** * The join failed and will not be retried on this call. * * Ends the ringing flow rather than leaving the call sitting in `RINGING`: one * `Call` is one call flow, so the accept button must not be able to offer this * instance again. Never rejects, so the original join error survives. */ export declare const onJoinFailed: (call: Call) => Promise; /** * The call has ended. * * Releases what the setup hook installed, once the hook has actually settled - * a hook still running may yet install something, and releasing before it * finishes would strand that. */ export declare const onLeave: (call: Call) => void; //# sourceMappingURL=ringingCallLifecycle.d.ts.map