import { type EditionOwnedTokenIdsInput, type EditionOwnedTokenIdsQuery, type ReleaseInfoQuery, type ReleaseInfoQueryVariables, type ReleaseShareInfoQuery, type ReleaseShareInfoQueryVariables } from './api/graphql/gql'; import type { ExecutionResult, MerkleProofParameters } from './types'; export interface SoundAPIConfig { /** * @default "https://api.sound.xyz/graphql" */ apiEndpoint?: string | URL; /** * API Key required to interact with Sound.xyz endpoints */ apiKey: string | undefined; } export declare function SoundAPI({ apiEndpoint, apiKey }: SoundAPIConfig): { check(): Promise<{ errors: readonly [import("./types").GraphQLError, ...import("./types").GraphQLError[]]; } | null>; releaseInfo({ contractAddress, editionId }: ReleaseInfoQueryVariables): Promise>>; releaseShareInfo({ contractAddress, editionId, releaseEmbedUriInput, releaseWebappUriInput, }: ReleaseShareInfoQueryVariables): Promise>>; merkleProof({ merkleRoot, userAddress }: MerkleProofParameters): Promise<`0x${string}`[] | null>; editionOwnedTokenIds(input: EditionOwnedTokenIdsInput): Promise>>; }; export type SoundAPI = ReturnType;