> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scute.io/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript Support

# TypeScript Support

Scute provides comprehensive TypeScript definitions:

```typescript theme={null}
import type {
  ScuteClient,
  ScuteSession,
  ScuteUserData,
  ScuteTokenPayload,
  AuthResponse,
  SessionResponse,
} from "@scute/js-core";

// Use types for better development experience
const handleAuthResponse = (response: AuthResponse) => {
  if (response.error) {
    // Handle error
    return;
  }

  // response.data is properly typed
  console.log(response.data);
};
```
