export interface StashClientConfig { /** Full URL to Stash server, e.g. "http://localhost:9999" */ url: string; /** Stash API key for authentication */ apiKey: string; } export declare class StashClient { private client; private _url; private _apiKey; constructor(config: StashClientConfig); /** Execute a typed query with field selection */ get query(): (request: R & { __name?: string; }) => Promise>; /** Execute a typed mutation with field selection */ get mutation(): (request: R & { __name?: string; }) => Promise>; /** * Execute a raw GraphQL query string. * Use for edge cases not covered by the typed client. */ raw(query: string, variables?: Record): Promise; }