use-bluesky
Version:
React hooks to interact with the Bluesky API
11 lines (10 loc) • 336 B
TypeScript
import { type Agent } from '@atproto/api';
import { NodeOAuthClient } from '@atproto/oauth-client-node';
export type BlueskyContextValue = {
agent?: Agent;
client?: NodeOAuthClient;
baseUrl: string;
session?: any;
token?: string;
};
export declare const BlueskyContext: import("react").Context<BlueskyContextValue>;