import { CSSResultGroup } from 'lit'; import { default as PairboElement } from '../../internal/pairbo-element.js'; import { default as PboCardSelection } from '../card-selection/card-selection.component.js'; import { default as PboButton } from '../button/button.component.js'; import { default as PboEditor } from '../editor/editor.component.js'; /** * @summary Short summary of the component's intended use. * @status experimental * * @dependency pbo-example * * @event pbo-event-name - Emitted as an example. * * @slot - The default slot. * @slot example - An example slot. * * @csspart base - The component's base wrapper. * * @cssproperty [--header-height=var(--pbo-drawer-header-height)] - The height of the header. * @cssproperty [--header-padding= 0 var(--pbo-spacing-large) 0 var(--pbo-spacing-large)] - The padding of the header. * @cssproperty [--icon-button-size=24px] - The size of the icon button svg, the max size is the `--header-height`. * */ export default class PboPageManager extends PairboElement { static styles: CSSResultGroup; static dependencies: { "pbo-button": typeof PboButton; "pbo-card-selection": typeof PboCardSelection; "pbo-editor": typeof PboEditor; }; cardSelectionEl: PboCardSelection; titleEl: HTMLHeadingElement; get editorEl(): PboEditor | null; onClose: () => void; currentPage: "selection" | "editor"; categories: Category[]; submitTypeForm: SubmitTypeForm | undefined; submitHandwrittenForm: SubmitHandwrittenForm | undefined; getProcessedImg: GetProcessedImg | undefined; isLoadingCategories: boolean; isError: boolean; errorMessage: string; selectionTitle: string; editorTitle: string; typeFormCtaLabel: string; handwrittenFormCtaLabel: string; uploadButtonLabel: string; hideColor: boolean; selectedCard: Card | null; selectedCardId: string | null; selectedCardDetails: { cover_url: string; id: string; } | null; handleGetProcessedImgUpdate(): void; private goToEditor; private goToSelector; connectedCallback(): void; disconnectedCallback(): void; protected firstUpdated(): void; handleCategoriesUpdate(): void; setIsLoadingCategories(isLoading: boolean): void; private findCardInCategoryById; private handleCardSelected; render(): import('lit-html').TemplateResult<1>; }