type TWatchPhase = 'ADDED' | 'MODIFIED' | 'DELETED' | 'BOOKMARK';
export type TEventsV1Event = {
    metadata?: {
        name?: string;
        namespace?: string;
        resourceVersion?: string;
        creationTimestamp?: string;
    };
    type?: string;
    reason?: string;
    note?: string;
    message?: string;
    reportingController?: string;
    reportingInstance?: string;
    deprecatedCount?: number;
    deprecatedFirstTimestamp?: Date;
    action?: string;
    eventTime?: string;
    regarding?: {
        apiVersion?: string;
        kind?: string;
        name?: string;
        namespace?: string;
    };
    deprecatedSource?: {
        component?: string;
        host?: string;
    };
};
type TInitialFrame = {
    type: 'INITIAL';
    items: TEventsV1Event[];
    continue?: string;
    remainingItemCount?: number;
    resourceVersion?: string;
};
type TPageFrame = {
    type: 'PAGE';
    items: TEventsV1Event[];
    continue?: string;
    remainingItemCount?: number;
};
type TPageErrorFrame = {
    type: 'PAGE_ERROR';
    error: string;
};
type TInitialErrorFrame = {
    type: 'INITIAL_ERROR';
    message: string;
    statusCode?: number;
    reason?: string;
};
type TServerLogFrame = {
    type: 'SERVER_LOG';
    level: 'info' | 'warn' | 'error';
    message: string;
};
type TDeltaFrame = {
    type: TWatchPhase;
    item: TEventsV1Event;
};
export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TInitialErrorFrame | TServerLogFrame | TDeltaFrame;
export type TScrollMsg = {
    type: 'SCROLL';
    continue: string;
    limit?: number;
};
export {};
