/** * @fractary/core - Static Token Provider * * Simple token provider for Personal Access Token (PAT) authentication. */ import type { TokenProvider } from './types'; /** * Static token provider for PAT authentication * * Provides a simple implementation that returns a static token. * Suitable for Personal Access Token (PAT) authentication. * * @example * ```typescript * const provider = new StaticTokenProvider('ghp_xxxx'); * const token = await provider.getToken(); * ``` */ export declare class StaticTokenProvider implements TokenProvider { private readonly token; /** * Create a new static token provider * * @param token The authentication token (e.g., GitHub PAT) * @throws Error if token is empty or undefined */ constructor(token: string); /** * Get the authentication token * * @returns Promise resolving to the token string */ getToken(): Promise; } //# sourceMappingURL=static-token-provider.d.ts.map