import type { RawModule } from "src/types"; /** * Creates a filter function that checks if a module's exports contain the specified properties. * @template P The type of the property keys to check. * @param props The list of property keys to check for in the module's exports. * @returns A function for filtering modules based on the presence of the specified properties. * @example * ```ts * const MessageActionCreators = getModule(filters.byProps("sendMessage", "editMessage")); * ``` */ export declare const byProps:

(...props: P[]) => ((m: RawModule) => boolean); /** * Creates a filter function that checks if a module's exports contain the specified prototype properties. * @template P The type of the property keys to check. * @param props The list of property keys to check for in the module's exports. * @returns A function for filtering modules based on the presence of the specified prototype properties. * @example * ```ts * const ChannelMessages = getModule(filters.byPrototype("jumpToMessage")); * ``` */ export declare const byPrototype:

(...props: P[]) => ((m: RawModule) => boolean); /** * Creates a filter function that checks if a module's source code matches a given string or regular expression. * * A module source code is minified, so be aware that variable names may be obfuscated and can change between versions. * To create more robust regular expressions, consider using wildcards or patterns that can accommodate such changes. * The custom `\i` escape sequence can be used in the regular expression to match any valid identifier. * @param match A string or regular expression to match against the module's source code. * @returns A function for filtering modules based on their source code. * @example * ```ts * const constantsModule = getModule(filters.bySource("users/@me/relationships")); * ``` */ export declare const bySource: (match: string | RegExp) => (m: RawModule) => boolean; /** * Creates a filter function that checks if a module's exported values match a given string or regular expression. * @param match A string or regular expression to match against the module's exported values. * @returns A function for filtering modules based on their exported values. * @example * ```ts * const classes = getModule(filters.byValue("container_c48ade")); * ``` */ export declare const byValue: (match: string | RegExp) => (m: RawModule) => boolean; /** * Creates a filter function to find a module by its store name. * @param name The name of the store to match. * @returns A function for filtering module by store name. * @example * ```ts * const UserStore = getModule(filters.byStoreName("UserStore")); * ``` */ export declare const byStoreName: (name: string) => (m: RawModule) => boolean;