/** Shared test utilities for editor play functions */ export declare const setupEditorTest: () => Promise<{ editor: HTMLElement; }>; /** * Wait until review suggestions have been loaded and applied as ProseMirror decorations. * Call after `setupEditorTest()` when the story uses `reviewSuggestionsLoader` — suggestions * are fetched in React after the editor view exists, so chips are not present at `pmView` time. */ export declare function waitForReviewSuggestions(editor: HTMLElement, options?: { suggestionId?: string; timeout?: number; }): Promise; /** Helper to place cursor inside an element */ export declare const placeCursorIn: (element: HTMLElement) => void; /** Helper to select text (handles single-block and cross-block selections) */ export declare const selectText: (editor: HTMLElement, text: string) => Promise; /** Collapsed selection at `offsetInText` within the first document occurrence of `text` (for keyboard tests). */ export declare const placeTextCursor: (editor: HTMLElement, text: string, offsetInText: number) => Promise; export declare const sharedMeta: { component: import('react').FC; parameters: { layout: string; }; argTypes: { theme: { control: "select"; options: string[]; description: string; }; }; decorators: ((Story: import('storybook/internal/csf').PartialStoryFn void) | undefined; collabConfig?: import('..').CollabConfig | undefined; onSearchLink?: ((term: string) => Promise) | undefined; onGrammarCheck?: ((text: string) => Promise) | undefined; onUploadImage?: import('..').MediaUploadHandler | undefined; onUploadVideo?: import('..').MediaUploadHandler | undefined; onUploadFile?: import('..').MediaUploadHandler | undefined; imageErrorFallbackUrl?: string | undefined; onHeadingsChange?: ((headings: import('..').Heading[]) => void) | undefined; issues?: import('..').DocumentIssue[] | undefined; reviewSuggestionsLoader?: import('..').ReviewSuggestionsLoader | undefined; onReviewSuggestionAccept?: ((suggestionId: string) => Promise | void) | undefined; onReviewSuggestionReject?: ((suggestionId: string) => Promise | void) | undefined; onReviewSuggestionSourceClick?: ((sourceId: string) => void) | undefined; onReviewSuggestionResolve?: ((suggestionId: string, outcome: import('../types').ReviewSuggestionResolveOutcome) => void) | undefined; onReviewSuggestionsResolved?: ((summary: import('..').ReviewSuggestionsResolveSummary) => void) | undefined; reviewSuggestionBulkActionsRef?: import('react').MutableRefObject | undefined; channels?: Array<{ id: string; name: string; }> | undefined; selectedChannelId?: string | undefined; }>) => import("react/jsx-runtime").JSX.Element)[]; }; export declare const markdown = "# Milkdown Editor Crepe\n\n> This is a demo for using [Milkdown](https://milkdown.dev) editor crepe.\n\nLet's add some content to the editor.\n\n---\n\n# Pink Floyd\n\n![1.0](https://upload.wikimedia.org/wikipedia/en/d/d6/Pink_Floyd_-_all_members.jpg \"Pink Floyd in January 1968.\")\n\n> Rarely will you find Floyd dishing up catchy hooks, tunes short enough for air-play, or predictable three-chord blues progressions; and never will you find them spending much time on the usual pop album of romance, partying, or self-hype. Their sonic universe is expansive, intense, and challenging ... Where most other bands neatly fit the songs to the music, the two forming a sort of autonomous and seamless whole complete with memorable hooks, Pink Floyd tends to set lyrics within a broader soundscape that often seems to have a life of its own ... Pink Floyd employs extended, stand-alone instrumentals which are never mere vehicles for showing off virtuoso but are planned and integral parts of the performance.\n\n**Pink Floyd** are an English [rock](https://en.wikipedia.org/wiki/Rock_music \"Rock music\") band formed in London in 1965. Gaining an early following as one of the first British [psychedelic](https://en.wikipedia.org/wiki/Psychedelic_music \"Psychedelic music\") groups, they were distinguished by their extended compositions, sonic experiments, philosophical lyrics, and elaborate [live shows](https://en.wikipedia.org/wiki/Pink_Floyd_live_performances \"Pink Floyd live performances\"). They became a leading band of the [progressive rock](https://en.wikipedia.org/wiki/Progressive_rock \"Progressive rock\") genre, cited by some as the greatest progressive rock band of all time.\n\nPink Floyd were founded in 1965 by [Syd Barrett](https://en.wikipedia.org/wiki/Syd_Barrett \"Syd Barrett\") (guitar, lead vocals), [Nick Mason](https://en.wikipedia.org/wiki/Nick_Mason \"Nick Mason\") (drums), [Roger Waters](https://en.wikipedia.org/wiki/Roger_Waters \"Roger Waters\") (bass guitar, vocals) and [Richard Wright](https://en.wikipedia.org/wiki/Richard_Wright_\\(musician\\) \"Richard Wright (musician)\") (keyboards, vocals). With Barrett as their main songwriter, they released two hit singles, \"[Arnold Layne](https://en.wikipedia.org/wiki/Arnold_Layne \"Arnold Layne\")\" and \"[See Emily Play](https://en.wikipedia.org/wiki/See_Emily_Play \"See Emily Play\")\", and the successful debut album *[The Piper at the Gates of Dawn](https://en.wikipedia.org/wiki/The_Piper_at_the_Gates_of_Dawn \"The Piper at the Gates of Dawn\")* (all 1967). [David Gilmour](https://en.wikipedia.org/wiki/David_Gilmour \"David Gilmour\") (guitar, vocals) joined in December 1967, while Barrett left in April 1968 due to deteriorating mental health. The four remaining members began contributing to the musical composition, with Waters becoming the primary lyricist and thematic leader, devising the [concepts](https://en.wikipedia.org/wiki/Concept_album \"Concept album\") behind Pink Floyd's most successful albums, *[The Dark Side of the Moon](https://en.wikipedia.org/wiki/The_Dark_Side_of_the_Moon \"The Dark Side of the Moon\")* (1973), *[Wish You Were Here](https://en.wikipedia.org/wiki/Wish_You_Were_Here_\\(Pink_Floyd_album\\) \"Wish You Were Here (Pink Floyd album)\")* (1975), *[Animals](https://en.wikipedia.org/wiki/Animals_\\(Pink_Floyd_album\\))* (1977) and *[The Wall](https://en.wikipedia.org/wiki/The_Wall \"The Wall\")* (1979). The [musical film](https://en.wikipedia.org/wiki/Musical_film \"Musical film\") based on *The Wall*, *[Pink Floyd \u2013 The Wall](https://en.wikipedia.org/wiki/Pink_Floyd_%E2%80%93_The_Wall \"Pink Floyd \u2013 The Wall\")* (1982), won two [BAFTA Awards](https://en.wikipedia.org/wiki/BAFTA_Awards \"BAFTA Awards\"). Pink Floyd also composed several [film scores](https://en.wikipedia.org/wiki/Film_score \"Film score\").\n\n---\n\n## Discography\n\n*Main articles: [Pink Floyd discography](https://en.wikipedia.org/wiki/Pink_Floyd_discography \"Pink Floyd discography\") and [List of songs recorded by Pink Floyd](https://en.wikipedia.org/wiki/List_of_songs_recorded_by_Pink_Floyd \"List of songs recorded by Pink Floyd\")*\n\n**Studio albums**\n\n* *[The Piper at the Gates of Dawn](https://en.wikipedia.org/wiki/The_Piper_at_the_Gates_of_Dawn \"The Piper at the Gates of Dawn\")* (1967)\n* *[A Saucerful of Secrets](https://en.wikipedia.org/wiki/A_Saucerful_of_Secrets \"A Saucerful of Secrets\")* (1968)\n* *[More](https://en.wikipedia.org/wiki/More_\\(soundtrack\\) \"More (soundtrack)\")* (1969)\n* *[Ummagumma](https://en.wikipedia.org/wiki/Ummagumma \"Ummagumma\")* (1969)\n* *[Atom Heart Mother](https://en.wikipedia.org/wiki/Atom_Heart_Mother \"Atom Heart Mother\")* (1970)\n* *[Meddle](https://en.wikipedia.org/wiki/Meddle \"Meddle\")* (1971)\n* *[Obscured by Clouds](https://en.wikipedia.org/wiki/Obscured_by_Clouds \"Obscured by Clouds\")* (1972)\n* *[The Dark Side of the Moon](https://en.wikipedia.org/wiki/The_Dark_Side_of_the_Moon \"The Dark Side of the Moon\")* (1973)\n* *[Wish You Were Here](https://en.wikipedia.org/wiki/Wish_You_Were_Here_\\(Pink_Floyd_album\\) \"Wish You Were Here (Pink Floyd album)\")* (1975)\n* *[Animals](https://en.wikipedia.org/wiki/Animals_\\(Pink_Floyd_album\\) \"Animals (Pink Floyd album)\")* (1977)\n* *[The Wall](https://en.wikipedia.org/wiki/The_Wall \"The Wall\")* (1979)\n* *[The Final Cut](https://en.wikipedia.org/wiki/The_Final_Cut_\\(album\\) \"The Final Cut (album)\")* (1983)\n* *[A Momentary Lapse of Reason](https://en.wikipedia.org/wiki/A_Momentary_Lapse_of_Reason \"A Momentary Lapse of Reason\")* (1987)\n* *[The Division Bell](https://en.wikipedia.org/wiki/The_Division_Bell \"The Division Bell\")* (1994)\n* *[The Endless River](https://en.wikipedia.org/wiki/The_Endless_River \"The Endless River\")* (2014)\n"; export declare const safetyCultureResponse = "You chose option 4, which is \"Manually syncing the SafetyCulture mobile app.\"\n\nSyncing the SafetyCulture mobile app is essential to keep the data on your device consistent with the web app, ensuring all your information is up to date.\n\nTo manually sync the app:\n1. Open the mobile app.\n2. Tap Home ![Image 1: House-filled icon](https://images.ctfassets.net/wum34wy9buzj/4FsxvUwqNTEfGP3Z3IXfGH/064069581212493bc65482205ff17ce9/house-filled.svg) at the bottom of your screen.\n3. Tap your user profile icon at the upper-right corner.\n4. Tap the rotating arrow icon ![Image 2: Arrow (rotate) icon](https://images.ctfassets.net/wum34wy9buzj/4QsGKMwkvCKnBw0THWUIdW/6c3af799e728f0834e89bc8112c8a166/XYZ_icon.svg) at the bottom to start the manual sync.\n5. Wait for the syncing progress bar to complete.\n\n![Image 3: Manually sync via the mobile app.](https://help.safetyculture.com/_next/image/?url=https%3A%2F%2Fimages.ctfassets.net%2Fwum34wy9buzj%2FTGDLkF38S5GvuA62YCqU4%2F31704b8ddf55b26590b039a506c7eae0%2FiPhone_13_Pro__full___7_.png&w=1920&q=75)\n\nYou can also check the syncing status of items like templates and inspections:\n1. Open the mobile app.\n2. Tap Home ![Image 4: House-filled icon](https://images.ctfassets.net/wum34wy9buzj/4FsxvUwqNTEfGP3Z3IXfGH/064069581212493bc65482205ff17ce9/house-filled.svg) at the bottom of your screen.\n3. Tap your user profile icon at the upper-right corner.\n4. In the pop-up, tap anywhere on the Sync bar or the chevron-right icon ![Image 5: Chevron-right icon](https://images.ctfassets.net/wum34wy9buzj/4uPFVL2ECGtPXJcwGeOA8O/5603c78ccea0d87a38be334e64da5f82/chevron-right.svg).\n5. This screen shows the syncing status of each feature and when it was last synced. ![Image 6: The detailed syncing status list on the mobile app.](https://help.safetyculture.com/_next/image/?url=https%3A%2F%2Fimages.ctfassets.net%2Fwum34wy9buzj%2F3DzIyBg9REnPFUjDgC4Nk0%2F32a7c0edf7bdcb26d8fb5755c98a6a17%2FiPhone_13_Pro__full___3_.png&w=1920&q=75)\n\nIf you see a \"sync failed\" error, try these steps:\n1. Manually sync the mobile app.\n2. Log out and then log back in.\n3. Tap the syncing progress bar to identify failed items and try resolving them individually.\n\n**Important**: Do not delete or uninstall the mobile app unless instructed by customer support, as this can lead to data loss.\n\nDo you need help with managing automatic syncing settings or troubleshooting other app issues?";