1073b0c214
CI / Lint (push) Has been cancelled
CI / Type Check (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled
Bump Nix package on release / bump (release) Has been cancelled
Update Homebrew Cask / update-cask (release) Has been cancelled
21 lines
559 B
TypeScript
21 lines
559 B
TypeScript
import type {
|
|
CursorCapabilities,
|
|
CursorProviderKind,
|
|
CursorRecordingData,
|
|
CursorTelemetryPoint,
|
|
} from "../../../src/native/contracts";
|
|
|
|
export interface CursorTelemetryLoadResult {
|
|
success: boolean;
|
|
samples: CursorTelemetryPoint[];
|
|
message?: string;
|
|
error?: string;
|
|
}
|
|
|
|
export interface CursorNativeAdapter {
|
|
readonly kind: CursorProviderKind;
|
|
getCapabilities(): Promise<CursorCapabilities>;
|
|
getRecordingData(videoPath?: string | null): Promise<CursorRecordingData>;
|
|
getTelemetry(videoPath?: string | null): Promise<CursorTelemetryLoadResult>;
|
|
}
|