import { SubscriptionHandler } from '@1hive/connect-core'; import { SubscriptionCallback, IHatchConnector } from '../types'; import Contribution from '../models/Contribution'; import Contributor from '../models/Contributor'; import GeneralConfig from '../models/GeneralConfig'; import ContractCache from '../models/helpers/ContractCache'; export declare function subgraphUrlFromChainId(chainId: number, staging?: boolean): string | null; export declare const APP_NAMES_WHITELIST: string[]; declare type HatchConnectorTheGraphConfig = { pollInterval?: number; subgraphUrl?: string; verbose?: boolean; }; export default class HatchConnectorTheGraph implements IHatchConnector { #private; constructor(config: HatchConnectorTheGraphConfig); disconnect(): Promise; generalConfig(id: string, contractCache: ContractCache): Promise; onGeneralConfig(id: string, callback: SubscriptionCallback, contractCache: ContractCache): SubscriptionHandler; contributors(appAddress: string, first: number, skip: number, orderBy: string, orderDirection: string): Promise; onContributors(appAddress: string, first: number, skip: number, orderBy: string, orderDirection: string, callback: SubscriptionCallback): SubscriptionHandler; contributor(id: string): Promise; onContributor(id: string, callback: SubscriptionCallback): SubscriptionHandler; contributions(appAddress: string, contributor: string, first: number, skip: number, orderBy: string, orderDirection: string): Promise; onContributions(appAddress: string, contributor: string, first: number, skip: number, orderBy: string, orderDirection: string, callback: SubscriptionCallback): SubscriptionHandler; } export {}; //# sourceMappingURL=connector.d.ts.map