@snap/camera-kit
Version:
Camera Kit Web
11 lines • 1.21 kB
TypeScript
import { StateMachine } from "@snap/state-management";
import type { CameraKitSession } from "./CameraKitSession";
declare const createSessionState: () => StateMachine<import("@snap/state-management").Action<"suspend", CameraKitSession> | import("@snap/state-management").Action<"resume", CameraKitSession> | import("@snap/state-management").Action<"destroy", undefined>, import("@snap/state-management").State<"inactive", undefined> | import("@snap/state-management").State<"active", CameraKitSession> | import("@snap/state-management").State<"destroyed", undefined>>;
export type SessionState = ReturnType<typeof createSessionState>;
export declare const sessionStateFactory: {
(): StateMachine<import("@snap/state-management").Action<"suspend", CameraKitSession> | import("@snap/state-management").Action<"resume", CameraKitSession> | import("@snap/state-management").Action<"destroy", undefined>, import("@snap/state-management").State<"inactive", undefined> | import("@snap/state-management").State<"active", CameraKitSession> | import("@snap/state-management").State<"destroyed", undefined>>;
token: "sessionState";
dependencies: [];
};
export {};
//# sourceMappingURL=sessionState.d.ts.map