import type { ComponentID } from '@teambit/component-id'; export type FilterByStateFunc = (state: string, poolIds: ComponentID[]) => Promise; /** * filter the given ids by a pattern. see "bit pattern --help" for the syntax. * a state (e.g. "$modified") can be negated with "!" (e.g. "!$modified"), also inside an " AND " pattern. */ export declare function filterIdsByPattern(pattern: string, ids: ComponentID[], throwForNoMatch?: boolean, filterByStateFunc?: FilterByStateFunc): Promise;