UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

792 lines (791 loc) 38.3 kB
export function getSuiteResults(node: any, tree: any, filterFn?: { <T>(value: T): T; (): undefined; }): any; export function getFailedSuiteResults(tree: any): any[]; export function mkGetTestsBySuiteId(): ((state: { app: { isNewUi: boolean; isInitialized: boolean; availableFeatures: import("../../../constants").Feature[]; isSearchLoading?: boolean | undefined; loading: { isVisible: boolean; isInProgress: boolean; taskTitle: string; progress: Record<string, number>; }; staticImageAccepterModal: { commitMessage: string; }; groupTestsData: { availableSections: import("../../new-ui/types/store").GroupBySection[]; availableExpressions: import("../../new-ui/types/store").GroupByExpression[]; currentExpressionIds: string[]; }; sortTestsData: { availableExpressions: import("../../new-ui/types/store").SortByExpression[]; currentExpressionIds: string[]; currentDirection: import("../../new-ui/types/store").SortDirection; previousExpressionIds: string[]; previousDirection: import("../../new-ui/types/store").SortDirection; }; guiServerConnection: { isConnected: boolean; }; snapshotsPlayer: import("../../new-ui/types/store").SnapshotsPlayerHighlightState; suitesPage: { currentTreeNodeId: string | null; currentBrowserId: string | null; currentGroupId: string | null; currentStepId: string | null; currentHighlightedStepId: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; }; visualChecksPage: { currentBrowserId: string | null; stateName: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; }; }; ui: { staticImageAccepterToolbar: { offset: import("../../new-ui/types").Point; }; suitesPage: { treeViewMode: import("../../new-ui/types/store").TreeViewMode; retryIndexByTreeNodeId: Record<string, number | null>; expandedTreeNodesById: Record<string, boolean>; expandedSectionsById: Record<string, boolean>; expandedStepsByResultId: Record<string, Record<string, boolean>>; sectionSizes: number[]; backupSectionSizes: number[]; isSnapshotsPlayerVisible: boolean; }; visualChecksPage: { sectionSizes: number[]; backupSectionSizes: number[]; is2UpDiffVisible: boolean; twoUpFitMode: import("../../../constants").TwoUpFitMode; }; }; browsers: import("../../../types").BrowserItem[]; browserFeatures: Record<string, import("../../../constants").BrowserFeature[]>; tree: import("../../new-ui/types/store").TreeEntity; view: { diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; keyToGroupTestsBy: string; baseHost: string; }; running: boolean; processing: boolean; gui: boolean; apiValues: import("../../../plugin-api").HtmlReporterValues; config: import("../../../types").StoreReporterConfig; staticImageAccepter: { enabled: boolean; acceptableImages: Record<string, import("../static-image-accepter").AcceptableImage>; accepterDelayedImages: { imageId: string; stateName: string; stateNameImageId: string; }[]; imagesToCommitCount: number; }; timestamp: number; fetchDbDetails: import("../../../db-utils/common").DbDetails[]; stats: { all: import("../../../tests-tree-builder/static").Stats | Record<string, never>; perBrowser: import("../../../tests-tree-builder/static").PerBrowserStats | undefined; } | null; db?: { close(): void; create_function(name: string, func: (...args: any[]) => any): any; each(sql: string, params: import("@gemini-testing/sql.js").BindParams, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; each(sql: string, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; exec(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").QueryExecResult[]; export(): Uint8Array; getRowsModified(): number; handleError(): null; iterateStatements(sql: string): { getRemainingSQL(): string; next(): import("@gemini-testing/sql.js").StatementIteratorResult; [Symbol.iterator](): Iterator<{ bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }, any, undefined>; }; prepare(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): { bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }; run(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): any; } | undefined; plugins: Record<string, unknown>; }) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").SuiteEntity>, args_2: Record<string, import("../../new-ui/types/store").BrowserEntity>) => any> & { clearCache: () => void; }; export function mkGetLastImageByStateName(): ((state: { app: { isNewUi: boolean; isInitialized: boolean; availableFeatures: import("../../../constants").Feature[]; isSearchLoading?: boolean | undefined; loading: { isVisible: boolean; isInProgress: boolean; taskTitle: string; progress: Record<string, number>; }; staticImageAccepterModal: { commitMessage: string; }; groupTestsData: { availableSections: import("../../new-ui/types/store").GroupBySection[]; availableExpressions: import("../../new-ui/types/store").GroupByExpression[]; currentExpressionIds: string[]; }; sortTestsData: { availableExpressions: import("../../new-ui/types/store").SortByExpression[]; currentExpressionIds: string[]; currentDirection: import("../../new-ui/types/store").SortDirection; previousExpressionIds: string[]; previousDirection: import("../../new-ui/types/store").SortDirection; }; guiServerConnection: { isConnected: boolean; }; snapshotsPlayer: import("../../new-ui/types/store").SnapshotsPlayerHighlightState; suitesPage: { currentTreeNodeId: string | null; currentBrowserId: string | null; currentGroupId: string | null; currentStepId: string | null; currentHighlightedStepId: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; }; visualChecksPage: { currentBrowserId: string | null; stateName: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; }; }; ui: { staticImageAccepterToolbar: { offset: import("../../new-ui/types").Point; }; suitesPage: { treeViewMode: import("../../new-ui/types/store").TreeViewMode; retryIndexByTreeNodeId: Record<string, number | null>; expandedTreeNodesById: Record<string, boolean>; expandedSectionsById: Record<string, boolean>; expandedStepsByResultId: Record<string, Record<string, boolean>>; sectionSizes: number[]; backupSectionSizes: number[]; isSnapshotsPlayerVisible: boolean; }; visualChecksPage: { sectionSizes: number[]; backupSectionSizes: number[]; is2UpDiffVisible: boolean; twoUpFitMode: import("../../../constants").TwoUpFitMode; }; }; browsers: import("../../../types").BrowserItem[]; browserFeatures: Record<string, import("../../../constants").BrowserFeature[]>; tree: import("../../new-ui/types/store").TreeEntity; view: { diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; keyToGroupTestsBy: string; baseHost: string; }; running: boolean; processing: boolean; gui: boolean; apiValues: import("../../../plugin-api").HtmlReporterValues; config: import("../../../types").StoreReporterConfig; staticImageAccepter: { enabled: boolean; acceptableImages: Record<string, import("../static-image-accepter").AcceptableImage>; accepterDelayedImages: { imageId: string; stateName: string; stateNameImageId: string; }[]; imagesToCommitCount: number; }; timestamp: number; fetchDbDetails: import("../../../db-utils/common").DbDetails[]; stats: { all: import("../../../tests-tree-builder/static").Stats | Record<string, never>; perBrowser: import("../../../tests-tree-builder/static").PerBrowserStats | undefined; } | null; db?: { close(): void; create_function(name: string, func: (...args: any[]) => any): any; each(sql: string, params: import("@gemini-testing/sql.js").BindParams, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; each(sql: string, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; exec(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").QueryExecResult[]; export(): Uint8Array; getRowsModified(): number; handleError(): null; iterateStatements(sql: string): { getRemainingSQL(): string; next(): import("@gemini-testing/sql.js").StatementIteratorResult; [Symbol.iterator](): Iterator<{ bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }, any, undefined>; }; prepare(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): { bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }; run(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): any; } | undefined; plugins: Record<string, unknown>; }) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: Record<string, import("../../new-ui/types/store").ResultEntity>, args_3: Record<string, import("../../new-ui/types/store").ImageEntity>) => any> & { clearCache: () => void; }; export const getFailedTests: ((state: {} | undefined) => { testName: string; browserName: string; metaInfo: any; }[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, import("../../new-ui/types/store").SuiteEntity>, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: Record<string, import("../../new-ui/types/store").ResultEntity>, args_3: any) => { testName: string; browserName: string; metaInfo: any; }[] & { clearCache: () => void; }> & { clearCache: () => void; }; export const getCheckedTests: ((state: {} | undefined) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: any) => any> & { clearCache: () => void; }; export const getAcceptableImagesByStateName: ((state: {} | undefined) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: Record<string, import("../../new-ui/types/store").ResultEntity>, args_3: Record<string, import("../../new-ui/types/store").ImageEntity>) => any> & { clearCache: () => void; }; export const getAcceptableOpenedImageIds: ((state: undefined) => string[]) & import("reselect").OutputSelectorFields<(args_0: import("../../new-ui/types/store").ImageEntity[]) => string[] & { clearCache: () => void; }> & { clearCache: () => void; }; export const getFailedOpenedImageIds: ((state: undefined) => string[]) & import("reselect").OutputSelectorFields<(args_0: import("../../new-ui/types/store").ImageEntity[]) => string[] & { clearCache: () => void; }> & { clearCache: () => void; }; export const getVisibleBrowserIds: ((state: {} | undefined) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: any) => any> & { clearCache: () => void; }; export const getSelectedBrowserIds: ((state: {} | undefined) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: any) => any> & { clearCache: () => void; }; export const getVisibleImages: ((state: { app: { isNewUi: boolean; isInitialized: boolean; availableFeatures: import("../../../constants").Feature[]; isSearchLoading?: boolean | undefined; loading: { isVisible: boolean; isInProgress: boolean; taskTitle: string; progress: Record<string, number>; }; staticImageAccepterModal: { commitMessage: string; }; groupTestsData: { availableSections: import("../../new-ui/types/store").GroupBySection[]; availableExpressions: import("../../new-ui/types/store").GroupByExpression[]; currentExpressionIds: string[]; }; sortTestsData: { availableExpressions: import("../../new-ui/types/store").SortByExpression[]; currentExpressionIds: string[]; currentDirection: import("../../new-ui/types/store").SortDirection; previousExpressionIds: string[]; previousDirection: import("../../new-ui/types/store").SortDirection; }; guiServerConnection: { isConnected: boolean; }; snapshotsPlayer: import("../../new-ui/types/store").SnapshotsPlayerHighlightState; suitesPage: { currentTreeNodeId: string | null; currentBrowserId: string | null; currentGroupId: string | null; currentStepId: string | null; currentHighlightedStepId: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; }; visualChecksPage: { currentBrowserId: string | null; stateName: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; }; }; ui: { staticImageAccepterToolbar: { offset: import("../../new-ui/types").Point; }; suitesPage: { treeViewMode: import("../../new-ui/types/store").TreeViewMode; retryIndexByTreeNodeId: Record<string, number | null>; expandedTreeNodesById: Record<string, boolean>; expandedSectionsById: Record<string, boolean>; expandedStepsByResultId: Record<string, Record<string, boolean>>; sectionSizes: number[]; backupSectionSizes: number[]; isSnapshotsPlayerVisible: boolean; }; visualChecksPage: { sectionSizes: number[]; backupSectionSizes: number[]; is2UpDiffVisible: boolean; twoUpFitMode: import("../../../constants").TwoUpFitMode; }; }; browsers: import("../../../types").BrowserItem[]; browserFeatures: Record<string, import("../../../constants").BrowserFeature[]>; tree: import("../../new-ui/types/store").TreeEntity; view: { diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; keyToGroupTestsBy: string; baseHost: string; }; running: boolean; processing: boolean; gui: boolean; apiValues: import("../../../plugin-api").HtmlReporterValues; config: import("../../../types").StoreReporterConfig; staticImageAccepter: { enabled: boolean; acceptableImages: Record<string, import("../static-image-accepter").AcceptableImage>; accepterDelayedImages: { imageId: string; stateName: string; stateNameImageId: string; }[]; imagesToCommitCount: number; }; timestamp: number; fetchDbDetails: import("../../../db-utils/common").DbDetails[]; stats: { all: import("../../../tests-tree-builder/static").Stats | Record<string, never>; perBrowser: import("../../../tests-tree-builder/static").PerBrowserStats | undefined; } | null; db?: { close(): void; create_function(name: string, func: (...args: any[]) => any): any; each(sql: string, params: import("@gemini-testing/sql.js").BindParams, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; each(sql: string, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; exec(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").QueryExecResult[]; export(): Uint8Array; getRowsModified(): number; handleError(): null; iterateStatements(sql: string): { getRemainingSQL(): string; next(): import("@gemini-testing/sql.js").StatementIteratorResult; [Symbol.iterator](): Iterator<{ bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }, any, undefined>; }; prepare(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): { bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }; run(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): any; } | undefined; plugins: Record<string, unknown>; }) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: Record<string, import("../../new-ui/types/store").ResultEntity>, args_3: Record<string, import("../../new-ui/types/store").ImageEntity>, args_4: boolean, args_5: boolean) => any> & { clearCache: () => void; }; export const getSelectedImages: ((state: { app: { isNewUi: boolean; isInitialized: boolean; availableFeatures: import("../../../constants").Feature[]; isSearchLoading?: boolean | undefined; loading: { isVisible: boolean; isInProgress: boolean; taskTitle: string; progress: Record<string, number>; }; staticImageAccepterModal: { commitMessage: string; }; groupTestsData: { availableSections: import("../../new-ui/types/store").GroupBySection[]; availableExpressions: import("../../new-ui/types/store").GroupByExpression[]; currentExpressionIds: string[]; }; sortTestsData: { availableExpressions: import("../../new-ui/types/store").SortByExpression[]; currentExpressionIds: string[]; currentDirection: import("../../new-ui/types/store").SortDirection; previousExpressionIds: string[]; previousDirection: import("../../new-ui/types/store").SortDirection; }; guiServerConnection: { isConnected: boolean; }; snapshotsPlayer: import("../../new-ui/types/store").SnapshotsPlayerHighlightState; suitesPage: { currentTreeNodeId: string | null; currentBrowserId: string | null; currentGroupId: string | null; currentStepId: string | null; currentHighlightedStepId: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; }; visualChecksPage: { currentBrowserId: string | null; stateName: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; }; }; ui: { staticImageAccepterToolbar: { offset: import("../../new-ui/types").Point; }; suitesPage: { treeViewMode: import("../../new-ui/types/store").TreeViewMode; retryIndexByTreeNodeId: Record<string, number | null>; expandedTreeNodesById: Record<string, boolean>; expandedSectionsById: Record<string, boolean>; expandedStepsByResultId: Record<string, Record<string, boolean>>; sectionSizes: number[]; backupSectionSizes: number[]; isSnapshotsPlayerVisible: boolean; }; visualChecksPage: { sectionSizes: number[]; backupSectionSizes: number[]; is2UpDiffVisible: boolean; twoUpFitMode: import("../../../constants").TwoUpFitMode; }; }; browsers: import("../../../types").BrowserItem[]; browserFeatures: Record<string, import("../../../constants").BrowserFeature[]>; tree: import("../../new-ui/types/store").TreeEntity; view: { diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; keyToGroupTestsBy: string; baseHost: string; }; running: boolean; processing: boolean; gui: boolean; apiValues: import("../../../plugin-api").HtmlReporterValues; config: import("../../../types").StoreReporterConfig; staticImageAccepter: { enabled: boolean; acceptableImages: Record<string, import("../static-image-accepter").AcceptableImage>; accepterDelayedImages: { imageId: string; stateName: string; stateNameImageId: string; }[]; imagesToCommitCount: number; }; timestamp: number; fetchDbDetails: import("../../../db-utils/common").DbDetails[]; stats: { all: import("../../../tests-tree-builder/static").Stats | Record<string, never>; perBrowser: import("../../../tests-tree-builder/static").PerBrowserStats | undefined; } | null; db?: { close(): void; create_function(name: string, func: (...args: any[]) => any): any; each(sql: string, params: import("@gemini-testing/sql.js").BindParams, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; each(sql: string, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; exec(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").QueryExecResult[]; export(): Uint8Array; getRowsModified(): number; handleError(): null; iterateStatements(sql: string): { getRemainingSQL(): string; next(): import("@gemini-testing/sql.js").StatementIteratorResult; [Symbol.iterator](): Iterator<{ bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }, any, undefined>; }; prepare(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): { bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }; run(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): any; } | undefined; plugins: Record<string, unknown>; }) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: Record<string, import("../../new-ui/types/store").BrowserEntity>, args_2: Record<string, import("../../new-ui/types/store").ResultEntity>, args_3: Record<string, import("../../new-ui/types/store").ImageEntity>, args_4: boolean, args_5: boolean) => any> & { clearCache: () => void; }; export const getVisibleRootSuiteIds: ((state: {} | undefined) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: any) => any> & { clearCache: () => void; }; export const areAllRootSuitesIdle: ((state: { app: { isNewUi: boolean; isInitialized: boolean; availableFeatures: import("../../../constants").Feature[]; isSearchLoading?: boolean | undefined; loading: { isVisible: boolean; isInProgress: boolean; taskTitle: string; progress: Record<string, number>; }; staticImageAccepterModal: { commitMessage: string; }; groupTestsData: { availableSections: import("../../new-ui/types/store").GroupBySection[]; availableExpressions: import("../../new-ui/types/store").GroupByExpression[]; currentExpressionIds: string[]; }; sortTestsData: { availableExpressions: import("../../new-ui/types/store").SortByExpression[]; currentExpressionIds: string[]; currentDirection: import("../../new-ui/types/store").SortDirection; previousExpressionIds: string[]; previousDirection: import("../../new-ui/types/store").SortDirection; }; guiServerConnection: { isConnected: boolean; }; snapshotsPlayer: import("../../new-ui/types/store").SnapshotsPlayerHighlightState; suitesPage: { currentTreeNodeId: string | null; currentBrowserId: string | null; currentGroupId: string | null; currentStepId: string | null; currentHighlightedStepId: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; }; visualChecksPage: { currentBrowserId: string | null; stateName: string | null; nameFilter: string; useRegexFilter: boolean; useMatchCaseFilter: boolean; viewMode: ViewMode; filteredBrowsers: import("../../../types").BrowserItem[]; diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; }; }; ui: { staticImageAccepterToolbar: { offset: import("../../new-ui/types").Point; }; suitesPage: { treeViewMode: import("../../new-ui/types/store").TreeViewMode; retryIndexByTreeNodeId: Record<string, number | null>; expandedTreeNodesById: Record<string, boolean>; expandedSectionsById: Record<string, boolean>; expandedStepsByResultId: Record<string, Record<string, boolean>>; sectionSizes: number[]; backupSectionSizes: number[]; isSnapshotsPlayerVisible: boolean; }; visualChecksPage: { sectionSizes: number[]; backupSectionSizes: number[]; is2UpDiffVisible: boolean; twoUpFitMode: import("../../../constants").TwoUpFitMode; }; }; browsers: import("../../../types").BrowserItem[]; browserFeatures: Record<string, import("../../../constants").BrowserFeature[]>; tree: import("../../new-ui/types/store").TreeEntity; view: { diffMode: "3-up" | "3-up-scaled" | "3-up-scaled-to-fit" | "only-diff" | "switch" | "swipe" | "onion-skin" | "2-up-interactive"; keyToGroupTestsBy: string; baseHost: string; }; running: boolean; processing: boolean; gui: boolean; apiValues: import("../../../plugin-api").HtmlReporterValues; config: import("../../../types").StoreReporterConfig; staticImageAccepter: { enabled: boolean; acceptableImages: Record<string, import("../static-image-accepter").AcceptableImage>; accepterDelayedImages: { imageId: string; stateName: string; stateNameImageId: string; }[]; imagesToCommitCount: number; }; timestamp: number; fetchDbDetails: import("../../../db-utils/common").DbDetails[]; stats: { all: import("../../../tests-tree-builder/static").Stats | Record<string, never>; perBrowser: import("../../../tests-tree-builder/static").PerBrowserStats | undefined; } | null; db?: { close(): void; create_function(name: string, func: (...args: any[]) => any): any; each(sql: string, params: import("@gemini-testing/sql.js").BindParams, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; each(sql: string, callback: import("@gemini-testing/sql.js").ParamsCallback, done: () => void): any; exec(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").QueryExecResult[]; export(): Uint8Array; getRowsModified(): number; handleError(): null; iterateStatements(sql: string): { getRemainingSQL(): string; next(): import("@gemini-testing/sql.js").StatementIteratorResult; [Symbol.iterator](): Iterator<{ bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }, any, undefined>; }; prepare(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): { bind(values?: import("@gemini-testing/sql.js").BindParams | undefined): boolean; free(): boolean; freemem(): void; get(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").SqlValue[]; getAsObject(params?: import("@gemini-testing/sql.js").BindParams | undefined): import("@gemini-testing/sql.js").ParamsObject; getColumnNames(): string[]; getNormalizedSQL(): string; getSQL(): string; reset(): void; run(values?: import("@gemini-testing/sql.js").BindParams | undefined): void; step(): boolean; }; run(sql: string, params?: import("@gemini-testing/sql.js").BindParams | undefined): any; } | undefined; plugins: Record<string, unknown>; }) => boolean) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../../new-ui/types/store").SuiteEntity>) => boolean & { clearCache: () => void; }> & { clearCache: () => void; }; import { ViewMode } from '../../../constants/view-modes';