/** Opening a Site in the app counts as activity on its sidebar row. */ export declare function useRecordSiteOpened(client: { recordSiteOpened?: (workspaceId: string, siteId: string) => Promise; }, workspaceId: string, siteId: string): void; /** Calls `onOpened` after this workspace records a Site open. */ export declare function useSiteOpenedListener(workspaceId: string, onOpened: () => void, enabled?: boolean): void;