import { EthqlContext } from '@ethql/base'; import { GraphQLResolveInfo } from 'graphql'; import { EthqlAccount, EthqlBlock, EthqlTransaction } from '../model'; declare type BlockArgs = { number?: number; hash?: string; tag?: string; }; declare type BlockOffsetArgs = { number?: number; hash?: string; offset?: number; tag?: string; }; declare type BlocksArgs = { numbers?: number[]; hashes?: string[]; }; declare type BlocksRangeArgs = { numberRange?: [number, number]; hashRange?: [string, string]; }; declare function block(obj: any, args: BlockArgs, { services }: EthqlContext, info: GraphQLResolveInfo): Promise; declare function blockOffset(obj: never, args: BlockOffsetArgs, { services }: EthqlContext, info: GraphQLResolveInfo): Promise; declare function blocks(obj: never, { numbers, hashes }: BlocksArgs, { services, config }: EthqlContext, info: GraphQLResolveInfo): Promise; declare function blocksRange(obj: never, { numberRange, hashRange }: BlocksRangeArgs, { services, config }: EthqlContext, info: GraphQLResolveInfo): Promise; declare function account(obj: any, { address }: { address: any; }): EthqlAccount; declare function transaction(obj: any, { hash }: { hash: any; }, { services }: EthqlContext): Promise; declare const _default: { Query: { block: typeof block; blocks: typeof blocks; blockOffset: typeof blockOffset; blocksRange: typeof blocksRange; account: typeof account; transaction: typeof transaction; }; }; export default _default; //# sourceMappingURL=root.d.ts.map