import { NavigationTarget } from './targets'; type ContentView = { target: typeof NavigationTarget.ContentView; contentId: string; version?: string; }; type ContentEdit = { target: typeof NavigationTarget.ContentEdit; contentId: string; }; type SpaceView = { target: typeof NavigationTarget.SpaceView; spaceKey: string; }; type ContentList = { target: typeof NavigationTarget.ContentList; contentType: 'page' | 'blogpost' | 'customContent'; } & ({ contentType: 'page' | 'blogpost'; spaceKey: string; } | { contentType: 'customContent'; moduleKey: string; }); type Module = { target: typeof NavigationTarget.Module; moduleKey: string; spaceKey?: string; projectKey?: string; }; type UserProfile = { target: typeof NavigationTarget.UserProfile; accountId: string; }; type Dashboard = { target: typeof NavigationTarget.Dashboard; dashboardId: string; }; type Issue = { target: typeof NavigationTarget.Issue; issueKey: string; }; type ProjectSettingsDetails = { target: typeof NavigationTarget.ProjectSettingsDetails; projectKey: string; }; export type NavigationLocation = ContentView | ContentEdit | SpaceView | UserProfile | ContentList | Module | Dashboard | Issue | ProjectSettingsDetails; export {}; //# sourceMappingURL=types.d.ts.map