diff --git a/packages/contracts/src/android-snapshot-quality.ts b/packages/contracts/src/android-snapshot-quality.ts index df699c1317..bbc6649aa8 100644 --- a/packages/contracts/src/android-snapshot-quality.ts +++ b/packages/contracts/src/android-snapshot-quality.ts @@ -43,7 +43,7 @@ export function isUnreadableCaptureContentError(error: unknown): boolean { * consume the reason instead of re-deriving it from hint text: the hint is human-facing prose * that may be reworded, and two readers sniffing it will drift apart (#1983). */ -export const ANDROID_CAPTURE_FAILURE_REASONS = ['accessibility-timeout'] as const; +const ANDROID_CAPTURE_FAILURE_REASONS = ['accessibility-timeout'] as const; export type AndroidCaptureFailureReason = (typeof ANDROID_CAPTURE_FAILURE_REASONS)[number]; diff --git a/packages/contracts/src/gesture-plan.ts b/packages/contracts/src/gesture-plan.ts index dba1ad24a1..e222b9989c 100644 --- a/packages/contracts/src/gesture-plan.ts +++ b/packages/contracts/src/gesture-plan.ts @@ -451,10 +451,7 @@ function tapContactPoints(points: readonly Point[]): Point[] { } /** The floor of three frames is what lets transport lowering claim a denser-than-endpoints path. */ -export function sampleGestureOffsets( - durationMs: number, - profile: GestureSamplingProfile, -): number[] { +function sampleGestureOffsets(durationMs: number, profile: GestureSamplingProfile): number[] { if (!Number.isFinite(durationMs) || durationMs <= 0) { throw new AppError('INVALID_ARGS', 'gesture sample duration must be a positive finite number'); } @@ -671,7 +668,7 @@ function addPoints(left: Point, right: Point): Point { return { x: left.x + right.x, y: left.y + right.y }; } -export function interpolateGesturePoint(start: Point, end: Point, progress: number): Point { +function interpolateGesturePoint(start: Point, end: Point, progress: number): Point { return { x: start.x + (end.x - start.x) * progress, y: start.y + (end.y - start.y) * progress,