import { PropertyValueMap } from 'lit'; import { ShadowPartsController } from '../controllers/shadow-parts-controller'; import { WeavySubAppComponent } from '../classes/weavy-sub-app-component'; declare global { interface HTMLElementTagNameMap { "wy-post-form": WyPostForm; } } /** * List container rendering a post editor and a paginated feed of posts. * * **Used sub components:** * * - [``](./wy-editor-msg.ts) * - [``](./ui/wy-dropdown.ts) * - [``](./ui/wy-dropdown.ts) * - [``](./ui/wy-icon.ts) * - [``](./ui/wy-context-data.ts) * * @slot actions - Extra buttons. * * @csspart wy-posts-header - Root post editor container. */ export declare class WyPostForm extends WeavySubAppComponent { static styles: import('lit').CSSResult[]; /** @internal */ protected exportParts: ShadowPartsController; /** * Placeholder text shown in the post editor input. */ placeholder?: string; /** * Mutation used when creating new posts. * * @internal */ private addPostMutation; /** * Handle editor submissions by dispatching the create-post mutation. * * @param e - Submitted editor data. */ private handleSubmit; willUpdate(changedProperties: PropertyValueMap): Promise; render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; } //# sourceMappingURL=wy-post-form.d.ts.map