import { KubeConfig } from './config.js'; import { KubernetesListObject, KubernetesObject } from './types.js'; export type ObjectCallback = (obj: T) => void; export type ErrorCallback = (err?: any) => void; export type ListCallback = (list: T[], ResourceVersion: string) => void; export type ListPromise = () => Promise>; export declare const ADD: string; export declare const UPDATE: string; export declare const CHANGE: string; export declare const DELETE: string; export declare const CONNECT: string; export declare const ERROR: string; export interface Informer { on(verb: string, fn: ObjectCallback): void; off(verb: string, fn: ObjectCallback): void; start(): Promise; stop(): Promise; } export declare function makeInformer(kubeconfig: KubeConfig, path: string, listPromiseFn: ListPromise, labelSelector?: string): Informer;