import { PropertyValueMap } from 'lit';
import { InfiniteQueryController } from '../controllers/infinite-query-controller';
import { CommentsResultType } from '../types/comments.types';
import { ShadowPartsController } from '../controllers/shadow-parts-controller';
import { WeavySubComponent } from '../classes/weavy-sub-component';
import { RealtimeReactionEventType } from '../types/realtime.types';
export default class WyCommentList extends WeavySubComponent {
    #private;
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    parentId?: number;
    location: "posts" | "files" | "apps";
    placeholder?: string;
    whenParentId(): Promise<number>;
    commentsQuery: InfiniteQueryController<CommentsResultType>;
    private addCommentMutation;
    private removeCommentMutation?;
    private restoreCommentMutation?;
    private pollMutation?;
    private infiniteScroll;
    private pagerRef;
    willUpdate(changedProperties: PropertyValueMap<this>): Promise<void>;
    protected update(changedProperties: PropertyValueMap<this>): void;
    handleRealtimeCommentCreated: () => void;
    handleRealtimeReactionAdded: (realtimeEvent: RealtimeReactionEventType) => void;
    handleRealtimeReactionDeleted: (realtimeEvent: RealtimeReactionEventType) => void;
    private handleSubmit;
    private renderComments;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
    disconnectedCallback(): void;
}
//# sourceMappingURL=wy-comment-list.d.ts.map