1import type { EnvironmentId } from "@t3tools/contracts";
2
3export interface ComposerPathSearchEntry {
4 readonly path: string;
5 readonly kind: "file" | "directory";
6 readonly parentPath?: string;
7}
8
9export interface ComposerPathSearchState {
10 readonly entries: ReadonlyArray<ComposerPathSearchEntry>;
11 readonly isPending: boolean;
12 readonly error: string | null;
13}
14
15export interface ComposerPathSearchTarget {
16 readonly environmentId: EnvironmentId | null;
17 readonly cwd: string | null;
18 readonly query: string | null;
19}