import type { AbstractConstructor, RawModule, WaitForOptions } from "src/types"; import type { Store } from "../common/flux"; export declare function getBySource(match: string | RegExp, options?: { all?: false; raw?: false; }): T | undefined; export declare function getBySource(match: string | RegExp, options: { all: true; raw?: false; }): T[]; export declare function getBySource(match: string | RegExp, options: { all: false; raw: true; }): RawModule | undefined; export declare function getBySource(match: string | RegExp, options: { all: true; raw: true; }): Array>; export declare function getBySource(match: string | RegExp, options: { all?: false; raw?: boolean; }): T | RawModule | undefined; export declare function getBySource(match: string | RegExp, options: { all: true; raw?: boolean; }): T[] | Array>; export declare function getBySource(match: string | RegExp, options: { all: boolean; raw?: false; }): T | T[] | undefined; export declare function getBySource(match: string | RegExp, options: { all: boolean; raw: true; }): RawModule | Array> | undefined; export declare function getBySource(match: string | RegExp, options?: { all?: boolean; raw?: boolean; }): T | T[] | RawModule | Array> | undefined; export declare function getByProps(props: P[], options?: { all?: false; raw?: false; }): T | undefined; export declare function getByProps(props: P[], options: { all: true; raw?: false; }): T[]; export declare function getByProps(props: P[], options: { all?: false; raw: true; }): RawModule | undefined; export declare function getByProps(props: P[], options: { all: true; raw: true; }): Array>; export declare function getByProps(props: P[], options?: { all: true; raw?: boolean; }): T[] | Array>; export declare function getByProps(props: P[], options: { all?: false; raw?: boolean; }): T | RawModule | undefined; export declare function getByProps(props: P[], options: { all?: boolean; raw: true; }): RawModule | Array> | undefined; export declare function getByProps(props: P[], options: { all?: boolean; raw?: false; }): T | T[] | undefined; export declare function getByProps(props: P[], options?: { all?: boolean; raw?: boolean; }): T | T[] | RawModule | Array> | undefined; export declare function getByProps>(...props: P): T | undefined; export declare function waitForProps(props: P[], options: WaitForOptions & { raw?: false; }): Promise; export declare function waitForProps(props: P[], options: WaitForOptions & { raw: true; }): Promise>; export declare function waitForProps(props: P[], options?: WaitForOptions): Promise>; export declare function waitForProps(...props: P[]): Promise; export declare function getByPrototype>(props: P[], options?: { all?: false; raw?: false; }): T | undefined; export declare function getByPrototype>(props: P[], options: { all: true; raw?: false; }): T[]; export declare function getByPrototype>(props: P[], options: { all?: false; raw: true; }): RawModule | undefined; export declare function getByPrototype>(props: P[], options: { all: true; raw: true; }): Array>; export declare function getByPrototype>(props: P[], options?: { all: true; raw?: boolean; }): T[] | Array>; export declare function getByPrototype>(props: P[], options: { all?: false; raw?: boolean; }): T | RawModule | undefined; export declare function getByPrototype>(props: P[], options: { all?: boolean; raw: true; }): RawModule | Array> | undefined; export declare function getByPrototype>(props: P[], options: { all?: boolean; raw?: false; }): T | T[] | undefined; export declare function getByPrototype>(props: P[], options?: { all?: boolean; raw?: boolean; }): T | T[] | RawModule | Array> | undefined; export declare function getByPrototype>>(...props: P): T | undefined; export declare function waitForPrototype>(props: P[], options: WaitForOptions & { raw?: false; }): Promise; export declare function waitForPrototype>(props: P[], options: WaitForOptions & { raw: true; }): Promise>; export declare function waitForPrototype>(props: P[], options?: WaitForOptions): Promise>; export declare function waitForPrototype>(...props: P[]): Promise; /** * Retrieves a store by its name from the collection of all available stores. * @template T The type of the store. * @param name The name of the store to retrieve. * @returns The store instance if found, otherwise `undefined`. */ export declare function getByStoreName(name: string): T | undefined; export declare function waitForStore(name: string, options?: WaitForOptions & { raw?: false; }): Promise; export declare function waitForStore(name: string, options: WaitForOptions & { raw: true; }): Promise>; export declare function waitForStore(name: string, options?: WaitForOptions): Promise>; export declare function getByValue(match: string | RegExp, options?: { all?: false; raw?: false; }): T | undefined; export declare function getByValue(match: string | RegExp, options: { all: true; raw?: false; }): T[]; export declare function getByValue(match: string | RegExp, options: { all?: false; raw: true; }): RawModule | undefined; export declare function getByValue(match: string | RegExp, options: { all: true; raw: true; }): Array>; export declare function getByValue(match: string | RegExp, options: { all: boolean; raw?: false; }): T | T[] | undefined; export declare function getByValue(match: string | RegExp, options: { all: boolean; raw: true; }): RawModule | Array>; export declare function getByValue(match: string | RegExp, options: { all?: false; raw: boolean; }): T | RawModule | undefined; export declare function getByValue(match: string | RegExp, options: { all: true; raw: boolean; }): T[] | Array>; export declare function getByValue(match: string | RegExp, options?: { all?: boolean; raw?: boolean; }): T | T[] | RawModule | Array> | undefined;