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>`](./wy-editor-msg.ts)
 * - [`<wy-dropdown>`](./ui/wy-dropdown.ts)
 * - [`<wy-dropdown-option>`](./ui/wy-dropdown.ts)
 * - [`<wy-icon>`](./ui/wy-icon.ts)
 * - [`<wy-context-data-progress>`](./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<this>): Promise<void>;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
}
//# sourceMappingURL=wy-post-form.d.ts.map