import { RequestOptions } from './app-management.js'; import { UnauthorizedHandler } from './graphql.js'; import { Variables } from 'graphql-request'; import { TypedDocumentNode } from '@graphql-typed-document-node/core'; /** * @param query - GraphQL query to execute. * @param shopFqdn - The shop fqdn. * @param token - Partners token. * @param variables - GraphQL variables to pass to the query. * @param unauthorizedHandler - Unauthorized handler to use. */ export interface AppDevRequestOptions { query: TypedDocumentNode; shopFqdn: string; token: string; unauthorizedHandler: UnauthorizedHandler; variables?: TVariables; requestOptions?: RequestOptions; } /** * Executes an org-scoped GraphQL query against the App Management API. * Uses typed documents. * * @param options - The options for the request. * @returns The response of the query of generic type . */ export declare function appDevRequestDoc(options: AppDevRequestOptions): Promise;