export type IndexPath = number[];
export interface JsonCollection extends ItemGroupLike {
    info: {
        _postman_id: string;
        name: string;
    };
    event: unknown[];
    variable?: Array<{
        key: string;
        value: string;
        type: string;
        disabled?: boolean;
    }>;
}
export interface ItemGroup extends ItemGroupLike {
    name: string;
}
export interface Item {
    name: string;
}
export interface ItemGroupLike {
    item: (Item | ItemGroup)[];
}
export declare const readEnvironmentFromResource: (filePath: string) => Record<string, string>;
export declare const parseCollection: (json: string) => JsonCollection;
export declare const findItemGroup: (parent: ItemGroupLike, name: string) => [ItemGroup, number] | undefined;
export declare const findItem: (parent: ItemGroupLike, name: string) => [Item, number] | undefined;
export declare const listItems: (parent: ItemGroupLike, currentPath: IndexPath, recursive: boolean) => Array<[Item, IndexPath]>;
