/** Sends a POST and decodes the JSON answer. The plugin supplies one that sends no player auth. */
export type PostJson =
(url: string, options: {
method: 'POST';
headers: Record;
body: string;
}) => Promise;
/** Sends one query to Twitch's web API through `post`. A media server's token must never reach Twitch. */
export declare function postGql(post: PostJson, query: string, variables: object, clientId?: string): Promise;