import type { StoreState } from '../types/index.js'; import type { Theme } from '@farfetch/blackout-client'; /** * Checks if styleguide theme has error. * * @param state - Application state. * @param code - The theme identifier. * * @returns Theme error. */ export declare const getThemeError: (state: StoreState, code: Theme['code']) => import("@farfetch/blackout-client").BlackoutError | undefined; /** * Checks if styleguide theme is loading. * * @param state - Application state. * @param code - The theme identifier. * * @returns If the theme is loading or not. */ export declare const isThemeLoading: (state: StoreState, code: Theme['code']) => boolean | undefined; /** * Gets a styleguide theme. * * @param state - Application state. * @param code - The theme identifier. * * @returns The styleguide theme. */ export declare const getTheme: (state: StoreState, code: Theme['code']) => Theme | undefined; /** * Checks if a styleguide theme is fetched. * * @param state - Application state. * @param code - The theme identifier. * * @returns If the styleguide theme was requested or not. */ export declare const isThemeFetched: (state: StoreState, code: Theme['code']) => boolean;