import { EventEmitter, OnInit } from '@angular/core'; import { BaseAngularComponent } from '@memberjunction/ng-base-types'; import type { SharedListSummary, SharePermissionLevel } from '@memberjunction/lists-base'; import * as i0 from "@angular/core"; /** * "Shared With Me" view (mockup 17). Lists every `MJ: List` the current * user has direct-share access to, plus a permission badge per row. * * Drop into the Lists app as a tab/resource. Click events bubble up via * `OpenList` so the host app can route through its own navigation * (NavigationService etc.) — keeps this component framework-agnostic. */ export declare class ListsSharedWithMeComponent extends BaseAngularComponent implements OnInit { private readonly cdr; /** Emitted when the user clicks a card. Host wires this to navigation. * Includes ListName so the host can open a properly-titled tab without * a second fetch. */ OpenList: EventEmitter<{ ListID: string; ListName: string; }>; /** Permission-level filter (empty = "All Permissions"). */ filterLevel: SharePermissionLevel | ''; /** Free-text filter on list name. */ filterText: string; loading: boolean; errorMessage: string | null; private allShares; ngOnInit(): Promise; get visibleShares(): SharedListSummary[]; OnFilterChange(): void; OnCardClick(listId: string): void; Refresh(): Promise; /** * Friendly-format the "shared at" timestamp into a relative phrase * ("3d ago", "2w ago"). Matches the mockup; falls back to absolute on * older entries. */ formatRelative(date: Date): string; /** Badge variant class for the permission-level chip. */ badgeClass(level: SharePermissionLevel): string; badgeLabel(level: SharePermissionLevel): string; private loadShares; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=shared-with-me.component.d.ts.map