interface ItemType {
    id: string;
    pid?: string;
    children?: ItemType[];
}
declare function findById(arr: ItemType[], id: string, prop?: keyof ItemType): ItemType | undefined;
export type { ItemType };
export { findById };
