import { AppError, AppErrorContext } from '@jupiterone/platform-sdk-errors'; export declare const CODE_NEPTUNE_TIMEOUT = "NEPTUNE_TIMEOUT"; export interface AppNeptuneTimeoutError extends AppError { readonly operation: string; readonly timeout: number; } export declare function isNeptuneTimeoutError(err: Partial): boolean; export declare function withNeptuneTimeout(context: AppErrorContext, options: { operation: string; ms: number; promise: Promise; }): Promise;