161847f8eSopenharmony_ci/*
261847f8eSopenharmony_ci * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
361847f8eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
461847f8eSopenharmony_ci * you may not use this file except in compliance with the License.
561847f8eSopenharmony_ci * You may obtain a copy of the License at
661847f8eSopenharmony_ci *
761847f8eSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
861847f8eSopenharmony_ci *
961847f8eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1061847f8eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1161847f8eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1261847f8eSopenharmony_ci * See the License for the specific language governing permissions and
1361847f8eSopenharmony_ci * limitations under the License.
1461847f8eSopenharmony_ci */
1561847f8eSopenharmony_ci
1661847f8eSopenharmony_ci/**
1761847f8eSopenharmony_ci * @file
1861847f8eSopenharmony_ci * @kit ArkUI
1961847f8eSopenharmony_ci */
2061847f8eSopenharmony_ci
2161847f8eSopenharmony_ci/**
2261847f8eSopenharmony_ci * Provides the method of switching the cursor position.
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @extends TextContentControllerBase
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @since 8
2761847f8eSopenharmony_ci */
2861847f8eSopenharmony_ci/**
2961847f8eSopenharmony_ci * Provides the method of switching the cursor position.
3061847f8eSopenharmony_ci *
3161847f8eSopenharmony_ci * @extends TextContentControllerBase
3261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
3361847f8eSopenharmony_ci * @crossplatform
3461847f8eSopenharmony_ci * @since 10
3561847f8eSopenharmony_ci */
3661847f8eSopenharmony_ci/**
3761847f8eSopenharmony_ci * Provides the method of switching the cursor position.
3861847f8eSopenharmony_ci *
3961847f8eSopenharmony_ci * @extends TextContentControllerBase
4061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
4161847f8eSopenharmony_ci * @crossplatform
4261847f8eSopenharmony_ci * @atomicservice
4361847f8eSopenharmony_ci * @since 11
4461847f8eSopenharmony_ci */
4561847f8eSopenharmony_cideclare class SearchController extends TextContentControllerBase {
4661847f8eSopenharmony_ci  /**
4761847f8eSopenharmony_ci   * constructor.
4861847f8eSopenharmony_ci   *
4961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5061847f8eSopenharmony_ci   * @since 8
5161847f8eSopenharmony_ci   */
5261847f8eSopenharmony_ci  /**
5361847f8eSopenharmony_ci   * constructor.
5461847f8eSopenharmony_ci   *
5561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5661847f8eSopenharmony_ci   * @crossplatform
5761847f8eSopenharmony_ci   * @since 10
5861847f8eSopenharmony_ci   */
5961847f8eSopenharmony_ci  /**
6061847f8eSopenharmony_ci   * constructor.
6161847f8eSopenharmony_ci   *
6261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6361847f8eSopenharmony_ci   * @crossplatform
6461847f8eSopenharmony_ci   * @atomicservice
6561847f8eSopenharmony_ci   * @since 11
6661847f8eSopenharmony_ci   */
6761847f8eSopenharmony_ci  constructor();
6861847f8eSopenharmony_ci
6961847f8eSopenharmony_ci  /**
7061847f8eSopenharmony_ci   * Called when the position of the insertion cursor is set.
7161847f8eSopenharmony_ci   *
7261847f8eSopenharmony_ci   * @param { number } value
7361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
7461847f8eSopenharmony_ci   * @since 8
7561847f8eSopenharmony_ci   */
7661847f8eSopenharmony_ci  /**
7761847f8eSopenharmony_ci   * Called when the position of the insertion cursor is set.
7861847f8eSopenharmony_ci   *
7961847f8eSopenharmony_ci   * @param { number } value
8061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
8161847f8eSopenharmony_ci   * @crossplatform
8261847f8eSopenharmony_ci   * @since 10
8361847f8eSopenharmony_ci   */
8461847f8eSopenharmony_ci  /**
8561847f8eSopenharmony_ci   * Called when the position of the insertion cursor is set.
8661847f8eSopenharmony_ci   *
8761847f8eSopenharmony_ci   * @param { number } value
8861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
8961847f8eSopenharmony_ci   * @crossplatform
9061847f8eSopenharmony_ci   * @atomicservice
9161847f8eSopenharmony_ci   * @since 11
9261847f8eSopenharmony_ci   */
9361847f8eSopenharmony_ci  caretPosition(value: number): void;
9461847f8eSopenharmony_ci
9561847f8eSopenharmony_ci  /**
9661847f8eSopenharmony_ci   * Exit edit state.
9761847f8eSopenharmony_ci   *
9861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
9961847f8eSopenharmony_ci   * @crossplatform
10061847f8eSopenharmony_ci   * @since 10
10161847f8eSopenharmony_ci   */
10261847f8eSopenharmony_ci  /**
10361847f8eSopenharmony_ci   * Exit edit state.
10461847f8eSopenharmony_ci   *
10561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
10661847f8eSopenharmony_ci   * @crossplatform
10761847f8eSopenharmony_ci   * @atomicservice
10861847f8eSopenharmony_ci   * @since 11
10961847f8eSopenharmony_ci   */
11061847f8eSopenharmony_ci  stopEditing(): void;
11161847f8eSopenharmony_ci
11261847f8eSopenharmony_ci  /**
11361847f8eSopenharmony_ci   * Text selection is achieved by specifying the start and end positions of the text.
11461847f8eSopenharmony_ci   *
11561847f8eSopenharmony_ci   * @param { number } selectionStart - The start position of the selected text.
11661847f8eSopenharmony_ci   * @param { number } selectionEnd - The end position of the selected text.
11761847f8eSopenharmony_ci   * @param { SelectionOptions } [options] - Indicates the options of the text selection.
11861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
11961847f8eSopenharmony_ci   * @crossplatform
12061847f8eSopenharmony_ci   * @atomicservice
12161847f8eSopenharmony_ci   * @since 12
12261847f8eSopenharmony_ci   */
12361847f8eSopenharmony_ci  setTextSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void;
12461847f8eSopenharmony_ci}
12561847f8eSopenharmony_ci
12661847f8eSopenharmony_ci/**
12761847f8eSopenharmony_ci * Enum for the style of cancel button
12861847f8eSopenharmony_ci *
12961847f8eSopenharmony_ci * @enum { number }
13061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
13161847f8eSopenharmony_ci * @crossplatform
13261847f8eSopenharmony_ci * @since 10
13361847f8eSopenharmony_ci */
13461847f8eSopenharmony_ci/**
13561847f8eSopenharmony_ci * Enum for the style of cancel button
13661847f8eSopenharmony_ci *
13761847f8eSopenharmony_ci * @enum { number }
13861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
13961847f8eSopenharmony_ci * @crossplatform
14061847f8eSopenharmony_ci * @atomicservice
14161847f8eSopenharmony_ci * @since 11
14261847f8eSopenharmony_ci */
14361847f8eSopenharmony_cideclare enum CancelButtonStyle {
14461847f8eSopenharmony_ci  /**
14561847f8eSopenharmony_ci   * The value of button style constant
14661847f8eSopenharmony_ci   *
14761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
14861847f8eSopenharmony_ci   * @crossplatform
14961847f8eSopenharmony_ci   * @since 10
15061847f8eSopenharmony_ci   */
15161847f8eSopenharmony_ci  /**
15261847f8eSopenharmony_ci   * The value of button style constant
15361847f8eSopenharmony_ci   *
15461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
15561847f8eSopenharmony_ci   * @crossplatform
15661847f8eSopenharmony_ci   * @atomicservice
15761847f8eSopenharmony_ci   * @since 11
15861847f8eSopenharmony_ci   */
15961847f8eSopenharmony_ci  CONSTANT,
16061847f8eSopenharmony_ci
16161847f8eSopenharmony_ci  /**
16261847f8eSopenharmony_ci   * The value of button style invisible
16361847f8eSopenharmony_ci   *
16461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
16561847f8eSopenharmony_ci   * @crossplatform
16661847f8eSopenharmony_ci   * @since 10
16761847f8eSopenharmony_ci   */
16861847f8eSopenharmony_ci  /**
16961847f8eSopenharmony_ci   * The value of button style invisible
17061847f8eSopenharmony_ci   *
17161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
17261847f8eSopenharmony_ci   * @crossplatform
17361847f8eSopenharmony_ci   * @atomicservice
17461847f8eSopenharmony_ci   * @since 11
17561847f8eSopenharmony_ci   */
17661847f8eSopenharmony_ci  INVISIBLE,
17761847f8eSopenharmony_ci
17861847f8eSopenharmony_ci  /**
17961847f8eSopenharmony_ci   * The value of button style input
18061847f8eSopenharmony_ci   *
18161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18261847f8eSopenharmony_ci   * @crossplatform
18361847f8eSopenharmony_ci   * @since 10
18461847f8eSopenharmony_ci   */
18561847f8eSopenharmony_ci  /**
18661847f8eSopenharmony_ci   * The value of button style input
18761847f8eSopenharmony_ci   *
18861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18961847f8eSopenharmony_ci   * @crossplatform
19061847f8eSopenharmony_ci   * @atomicservice
19161847f8eSopenharmony_ci   * @since 11
19261847f8eSopenharmony_ci   */
19361847f8eSopenharmony_ci  INPUT
19461847f8eSopenharmony_ci}
19561847f8eSopenharmony_ci
19661847f8eSopenharmony_ci/**
19761847f8eSopenharmony_ci * Declare the type of search input box
19861847f8eSopenharmony_ci *
19961847f8eSopenharmony_ci * @enum { number }
20061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
20161847f8eSopenharmony_ci * @crossplatform
20261847f8eSopenharmony_ci * @since 11
20361847f8eSopenharmony_ci */
20461847f8eSopenharmony_ci/**
20561847f8eSopenharmony_ci * Declare the type of search input box
20661847f8eSopenharmony_ci *
20761847f8eSopenharmony_ci * @enum { number }
20861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
20961847f8eSopenharmony_ci * @crossplatform
21061847f8eSopenharmony_ci * @atomicservice
21161847f8eSopenharmony_ci * @since 12
21261847f8eSopenharmony_ci */
21361847f8eSopenharmony_cideclare enum SearchType {
21461847f8eSopenharmony_ci  /**
21561847f8eSopenharmony_ci   * Basic input mode.
21661847f8eSopenharmony_ci   *
21761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
21861847f8eSopenharmony_ci   * @crossplatform
21961847f8eSopenharmony_ci   * @since 11
22061847f8eSopenharmony_ci   */
22161847f8eSopenharmony_ci  /**
22261847f8eSopenharmony_ci   * Basic input mode.
22361847f8eSopenharmony_ci   *
22461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22561847f8eSopenharmony_ci   * @crossplatform
22661847f8eSopenharmony_ci   * @atomicservice
22761847f8eSopenharmony_ci   * @since 12
22861847f8eSopenharmony_ci   */
22961847f8eSopenharmony_ci  NORMAL = 0,
23061847f8eSopenharmony_ci
23161847f8eSopenharmony_ci  /**
23261847f8eSopenharmony_ci   * Pure digital input mode.
23361847f8eSopenharmony_ci   *
23461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
23561847f8eSopenharmony_ci   * @crossplatform
23661847f8eSopenharmony_ci   * @since 11
23761847f8eSopenharmony_ci   */
23861847f8eSopenharmony_ci  /**
23961847f8eSopenharmony_ci   * Pure digital input mode.
24061847f8eSopenharmony_ci   *
24161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
24261847f8eSopenharmony_ci   * @crossplatform
24361847f8eSopenharmony_ci   * @atomicservice
24461847f8eSopenharmony_ci   * @since 12
24561847f8eSopenharmony_ci   */
24661847f8eSopenharmony_ci  NUMBER = 2,
24761847f8eSopenharmony_ci
24861847f8eSopenharmony_ci  /**
24961847f8eSopenharmony_ci   * Phone number entry mode.
25061847f8eSopenharmony_ci   *
25161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
25261847f8eSopenharmony_ci   * @crossplatform
25361847f8eSopenharmony_ci   * @since 11
25461847f8eSopenharmony_ci   */
25561847f8eSopenharmony_ci  /**
25661847f8eSopenharmony_ci   * Phone number entry mode.
25761847f8eSopenharmony_ci   *
25861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
25961847f8eSopenharmony_ci   * @crossplatform
26061847f8eSopenharmony_ci   * @atomicservice
26161847f8eSopenharmony_ci   * @since 12
26261847f8eSopenharmony_ci   */
26361847f8eSopenharmony_ci  PHONE_NUMBER = 3,
26461847f8eSopenharmony_ci
26561847f8eSopenharmony_ci  /**
26661847f8eSopenharmony_ci   * E-mail address input mode.
26761847f8eSopenharmony_ci   *
26861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26961847f8eSopenharmony_ci   * @crossplatform
27061847f8eSopenharmony_ci   * @since 11
27161847f8eSopenharmony_ci   */
27261847f8eSopenharmony_ci  /**
27361847f8eSopenharmony_ci   * E-mail address input mode.
27461847f8eSopenharmony_ci   *
27561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
27661847f8eSopenharmony_ci   * @crossplatform
27761847f8eSopenharmony_ci   * @atomicservice
27861847f8eSopenharmony_ci   * @since 12
27961847f8eSopenharmony_ci   */
28061847f8eSopenharmony_ci  EMAIL = 5,
28161847f8eSopenharmony_ci
28261847f8eSopenharmony_ci  /**
28361847f8eSopenharmony_ci   * Number decimal entry mode.
28461847f8eSopenharmony_ci   *
28561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
28661847f8eSopenharmony_ci   * @crossplatform
28761847f8eSopenharmony_ci   * @atomicservice
28861847f8eSopenharmony_ci   * @since 12
28961847f8eSopenharmony_ci   */
29061847f8eSopenharmony_ci  NUMBER_DECIMAL = 12,
29161847f8eSopenharmony_ci  
29261847f8eSopenharmony_ci  /**
29361847f8eSopenharmony_ci   * URL entry mode.
29461847f8eSopenharmony_ci   *
29561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
29661847f8eSopenharmony_ci   * @crossplatform
29761847f8eSopenharmony_ci   * @atomicservice
29861847f8eSopenharmony_ci   * @since 12
29961847f8eSopenharmony_ci   */
30061847f8eSopenharmony_ci  URL = 13,
30161847f8eSopenharmony_ci}
30261847f8eSopenharmony_ci
30361847f8eSopenharmony_ci/**
30461847f8eSopenharmony_ci * Options used to construct the search.
30561847f8eSopenharmony_ci *
30661847f8eSopenharmony_ci * @typedef SearchOptions
30761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
30861847f8eSopenharmony_ci * @crossplatform
30961847f8eSopenharmony_ci * @atomicservice
31061847f8eSopenharmony_ci * @since 14
31161847f8eSopenharmony_ci */
31261847f8eSopenharmony_cideclare interface SearchOptions {
31361847f8eSopenharmony_ci  /**
31461847f8eSopenharmony_ci   * Text input in the search text box.
31561847f8eSopenharmony_ci   *
31661847f8eSopenharmony_ci   * @type { ?string }
31761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
31861847f8eSopenharmony_ci   * @since 8
31961847f8eSopenharmony_ci   */
32061847f8eSopenharmony_ci  /**
32161847f8eSopenharmony_ci   * Text input in the search text box.
32261847f8eSopenharmony_ci   *
32361847f8eSopenharmony_ci   * @type { ?string }
32461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
32561847f8eSopenharmony_ci   * @atomicservice
32661847f8eSopenharmony_ci   * @since 11
32761847f8eSopenharmony_ci   */
32861847f8eSopenharmony_ci  value?: string;
32961847f8eSopenharmony_ci
33061847f8eSopenharmony_ci  /**
33161847f8eSopenharmony_ci   * Text displayed when there is no input.
33261847f8eSopenharmony_ci   *
33361847f8eSopenharmony_ci   * @type { string }
33461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
33561847f8eSopenharmony_ci   * @since 8
33661847f8eSopenharmony_ci   */
33761847f8eSopenharmony_ci  /**
33861847f8eSopenharmony_ci   * Text displayed when there is no input.
33961847f8eSopenharmony_ci   *
34061847f8eSopenharmony_ci   * @type { ?ResourceStr }
34161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
34261847f8eSopenharmony_ci   * @since 10
34361847f8eSopenharmony_ci   */
34461847f8eSopenharmony_ci  /**
34561847f8eSopenharmony_ci   * Text displayed when there is no input.
34661847f8eSopenharmony_ci   *
34761847f8eSopenharmony_ci   * @type { ?ResourceStr }
34861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
34961847f8eSopenharmony_ci   * @atomicservice
35061847f8eSopenharmony_ci   * @since 11
35161847f8eSopenharmony_ci   */
35261847f8eSopenharmony_ci  placeholder?: ResourceStr;
35361847f8eSopenharmony_ci
35461847f8eSopenharmony_ci  /**
35561847f8eSopenharmony_ci   * Path to the search icon.
35661847f8eSopenharmony_ci   *
35761847f8eSopenharmony_ci   * @type { ?string }
35861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
35961847f8eSopenharmony_ci   * @since 8
36061847f8eSopenharmony_ci   */
36161847f8eSopenharmony_ci  /**
36261847f8eSopenharmony_ci   * Path to the search icon.
36361847f8eSopenharmony_ci   *
36461847f8eSopenharmony_ci   * @type { ?string }
36561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
36661847f8eSopenharmony_ci   * @atomicservice
36761847f8eSopenharmony_ci   * @since 11
36861847f8eSopenharmony_ci   */
36961847f8eSopenharmony_ci  icon?: string;
37061847f8eSopenharmony_ci
37161847f8eSopenharmony_ci  /**
37261847f8eSopenharmony_ci   * Controller of the <Search> component.
37361847f8eSopenharmony_ci   *
37461847f8eSopenharmony_ci   * @type { ?SearchController }
37561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
37661847f8eSopenharmony_ci   * @since 8
37761847f8eSopenharmony_ci   */
37861847f8eSopenharmony_ci  /**
37961847f8eSopenharmony_ci   * Controller of the <Search> component.
38061847f8eSopenharmony_ci   *
38161847f8eSopenharmony_ci   * @type { ?SearchController }
38261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
38361847f8eSopenharmony_ci   * @atomicservice
38461847f8eSopenharmony_ci   * @since 11
38561847f8eSopenharmony_ci   */
38661847f8eSopenharmony_ci  controller?: SearchController;
38761847f8eSopenharmony_ci}
38861847f8eSopenharmony_ci
38961847f8eSopenharmony_ci/**
39061847f8eSopenharmony_ci * The construct function of search
39161847f8eSopenharmony_ci *
39261847f8eSopenharmony_ci * @interface SearchInterface
39361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
39461847f8eSopenharmony_ci * @since 8
39561847f8eSopenharmony_ci */
39661847f8eSopenharmony_ci/**
39761847f8eSopenharmony_ci * The construct function of search
39861847f8eSopenharmony_ci *
39961847f8eSopenharmony_ci * @interface SearchInterface
40061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
40161847f8eSopenharmony_ci * @crossplatform
40261847f8eSopenharmony_ci * @since 10
40361847f8eSopenharmony_ci */
40461847f8eSopenharmony_ci/**
40561847f8eSopenharmony_ci * The construct function of search
40661847f8eSopenharmony_ci *
40761847f8eSopenharmony_ci * @interface SearchInterface
40861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
40961847f8eSopenharmony_ci * @crossplatform
41061847f8eSopenharmony_ci * @atomicservice
41161847f8eSopenharmony_ci * @since 11
41261847f8eSopenharmony_ci */
41361847f8eSopenharmony_ciinterface SearchInterface {
41461847f8eSopenharmony_ci  /**
41561847f8eSopenharmony_ci   * The options of SearchInterface
41661847f8eSopenharmony_ci   *
41761847f8eSopenharmony_ci   * @param { object } options
41861847f8eSopenharmony_ci   * @returns { SearchAttribute }
41961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42061847f8eSopenharmony_ci   * @since 8
42161847f8eSopenharmony_ci   */
42261847f8eSopenharmony_ci  /**
42361847f8eSopenharmony_ci   * The options of SearchInterface
42461847f8eSopenharmony_ci   *
42561847f8eSopenharmony_ci   * @param { object } options
42661847f8eSopenharmony_ci   * @returns { SearchAttribute }
42761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42861847f8eSopenharmony_ci   * @crossplatform
42961847f8eSopenharmony_ci   * @since 10
43061847f8eSopenharmony_ci   */
43161847f8eSopenharmony_ci  /**
43261847f8eSopenharmony_ci   * The options of SearchInterface
43361847f8eSopenharmony_ci   *
43461847f8eSopenharmony_ci   * @param { object } options
43561847f8eSopenharmony_ci   * @returns { SearchAttribute }
43661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
43761847f8eSopenharmony_ci   * @crossplatform
43861847f8eSopenharmony_ci   * @atomicservice
43961847f8eSopenharmony_ci   * @since 11
44061847f8eSopenharmony_ci   */
44161847f8eSopenharmony_ci  /**
44261847f8eSopenharmony_ci   * The options of SearchInterface.
44361847f8eSopenharmony_ci   *
44461847f8eSopenharmony_ci   * @param { SearchOptions } [options] - Search options.
44561847f8eSopenharmony_ci   * @returns { SearchAttribute }
44661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
44761847f8eSopenharmony_ci   * @crossplatform
44861847f8eSopenharmony_ci   * @atomicservice
44961847f8eSopenharmony_ci   * @since 14
45061847f8eSopenharmony_ci   */
45161847f8eSopenharmony_ci  (options?: SearchOptions): SearchAttribute;
45261847f8eSopenharmony_ci}
45361847f8eSopenharmony_ci
45461847f8eSopenharmony_ci/**
45561847f8eSopenharmony_ci * Defines the icon options
45661847f8eSopenharmony_ci *
45761847f8eSopenharmony_ci * @interface IconOptions
45861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
45961847f8eSopenharmony_ci * @crossplatform
46061847f8eSopenharmony_ci * @since 10
46161847f8eSopenharmony_ci */
46261847f8eSopenharmony_ci/**
46361847f8eSopenharmony_ci * Defines the icon options
46461847f8eSopenharmony_ci *
46561847f8eSopenharmony_ci * @interface IconOptions
46661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
46761847f8eSopenharmony_ci * @crossplatform
46861847f8eSopenharmony_ci * @atomicservice
46961847f8eSopenharmony_ci * @since 11
47061847f8eSopenharmony_ci */
47161847f8eSopenharmony_ciinterface IconOptions {
47261847f8eSopenharmony_ci  /**
47361847f8eSopenharmony_ci   * Set the icon size
47461847f8eSopenharmony_ci   *
47561847f8eSopenharmony_ci   * @type { ?Length }
47661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
47761847f8eSopenharmony_ci   * @crossplatform
47861847f8eSopenharmony_ci   * @since 10
47961847f8eSopenharmony_ci   */
48061847f8eSopenharmony_ci  /**
48161847f8eSopenharmony_ci   * Set the icon size
48261847f8eSopenharmony_ci   *
48361847f8eSopenharmony_ci   * @type { ?Length }
48461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
48561847f8eSopenharmony_ci   * @crossplatform
48661847f8eSopenharmony_ci   * @atomicservice
48761847f8eSopenharmony_ci   * @since 11
48861847f8eSopenharmony_ci   */
48961847f8eSopenharmony_ci  size?: Length;
49061847f8eSopenharmony_ci
49161847f8eSopenharmony_ci  /**
49261847f8eSopenharmony_ci   * Set the icon color
49361847f8eSopenharmony_ci   *
49461847f8eSopenharmony_ci   * @type { ?ResourceColor }
49561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
49661847f8eSopenharmony_ci   * @crossplatform
49761847f8eSopenharmony_ci   * @since 10
49861847f8eSopenharmony_ci   */
49961847f8eSopenharmony_ci  /**
50061847f8eSopenharmony_ci   * Set the icon color
50161847f8eSopenharmony_ci   *
50261847f8eSopenharmony_ci   * @type { ?ResourceColor }
50361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
50461847f8eSopenharmony_ci   * @crossplatform
50561847f8eSopenharmony_ci   * @atomicservice
50661847f8eSopenharmony_ci   * @since 11
50761847f8eSopenharmony_ci   */
50861847f8eSopenharmony_ci  color?: ResourceColor;
50961847f8eSopenharmony_ci
51061847f8eSopenharmony_ci  /**
51161847f8eSopenharmony_ci   * Set the icon resource
51261847f8eSopenharmony_ci   *
51361847f8eSopenharmony_ci   * @type { ?ResourceStr }
51461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
51561847f8eSopenharmony_ci   * @crossplatform
51661847f8eSopenharmony_ci   * @since 10
51761847f8eSopenharmony_ci   */
51861847f8eSopenharmony_ci  /**
51961847f8eSopenharmony_ci   * Set the icon resource
52061847f8eSopenharmony_ci   *
52161847f8eSopenharmony_ci   * @type { ?ResourceStr }
52261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
52361847f8eSopenharmony_ci   * @crossplatform
52461847f8eSopenharmony_ci   * @atomicservice
52561847f8eSopenharmony_ci   * @since 11
52661847f8eSopenharmony_ci   */
52761847f8eSopenharmony_ci  src?: ResourceStr;
52861847f8eSopenharmony_ci}
52961847f8eSopenharmony_ci
53061847f8eSopenharmony_ci/**
53161847f8eSopenharmony_ci * Defines the SearchButton options
53261847f8eSopenharmony_ci *
53361847f8eSopenharmony_ci * @interface SearchButtonOptions
53461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
53561847f8eSopenharmony_ci * @crossplatform
53661847f8eSopenharmony_ci * @since 10
53761847f8eSopenharmony_ci */
53861847f8eSopenharmony_ci/**
53961847f8eSopenharmony_ci * Defines the SearchButton options
54061847f8eSopenharmony_ci *
54161847f8eSopenharmony_ci * @interface SearchButtonOptions
54261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
54361847f8eSopenharmony_ci * @crossplatform
54461847f8eSopenharmony_ci * @atomicservice
54561847f8eSopenharmony_ci * @since 11
54661847f8eSopenharmony_ci */
54761847f8eSopenharmony_ciinterface SearchButtonOptions {
54861847f8eSopenharmony_ci  /**
54961847f8eSopenharmony_ci   * Set the SearchButton fontSize
55061847f8eSopenharmony_ci   *
55161847f8eSopenharmony_ci   * @type { ?Length }
55261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
55361847f8eSopenharmony_ci   * @crossplatform
55461847f8eSopenharmony_ci   * @since 10
55561847f8eSopenharmony_ci   */
55661847f8eSopenharmony_ci  /**
55761847f8eSopenharmony_ci   * Set the SearchButton fontSize
55861847f8eSopenharmony_ci   *
55961847f8eSopenharmony_ci   * @type { ?Length }
56061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56161847f8eSopenharmony_ci   * @crossplatform
56261847f8eSopenharmony_ci   * @atomicservice
56361847f8eSopenharmony_ci   * @since 11
56461847f8eSopenharmony_ci   */
56561847f8eSopenharmony_ci  fontSize?: Length;
56661847f8eSopenharmony_ci
56761847f8eSopenharmony_ci  /**
56861847f8eSopenharmony_ci   * Set the SearchButton fontColor
56961847f8eSopenharmony_ci   *
57061847f8eSopenharmony_ci   * @type { ?ResourceColor }
57161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
57261847f8eSopenharmony_ci   * @crossplatform
57361847f8eSopenharmony_ci   * @since 10
57461847f8eSopenharmony_ci   */
57561847f8eSopenharmony_ci  /**
57661847f8eSopenharmony_ci   * Set the SearchButton fontColor
57761847f8eSopenharmony_ci   *
57861847f8eSopenharmony_ci   * @type { ?ResourceColor }
57961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
58061847f8eSopenharmony_ci   * @crossplatform
58161847f8eSopenharmony_ci   * @atomicservice
58261847f8eSopenharmony_ci   * @since 11
58361847f8eSopenharmony_ci   */
58461847f8eSopenharmony_ci  fontColor?: ResourceColor;
58561847f8eSopenharmony_ci
58661847f8eSopenharmony_ci  /**
58761847f8eSopenharmony_ci   * Automatically disables the search button before the user enters text
58861847f8eSopenharmony_ci   *
58961847f8eSopenharmony_ci   * @type { ?Boolean }
59061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
59161847f8eSopenharmony_ci   * @crossplatform
59261847f8eSopenharmony_ci   * @atomicservice
59361847f8eSopenharmony_ci   * @since 14
59461847f8eSopenharmony_ci   */
59561847f8eSopenharmony_ci  autoDisable?: Boolean;
59661847f8eSopenharmony_ci}
59761847f8eSopenharmony_ci
59861847f8eSopenharmony_ci/**
59961847f8eSopenharmony_ci * Defines the CancelButton options
60061847f8eSopenharmony_ci *
60161847f8eSopenharmony_ci * @interface CancelButtonOptions
60261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
60361847f8eSopenharmony_ci * @crossplatform
60461847f8eSopenharmony_ci * @atomicservice
60561847f8eSopenharmony_ci * @since 12
60661847f8eSopenharmony_ci */
60761847f8eSopenharmony_ciinterface CancelButtonOptions {
60861847f8eSopenharmony_ci  /**
60961847f8eSopenharmony_ci   * Set the CancelButton style
61061847f8eSopenharmony_ci   *
61161847f8eSopenharmony_ci   * @type { ?CancelButtonStyle }
61261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
61361847f8eSopenharmony_ci   * @crossplatform
61461847f8eSopenharmony_ci   * @atomicservice
61561847f8eSopenharmony_ci   * @since 12
61661847f8eSopenharmony_ci   */
61761847f8eSopenharmony_ci  style?: CancelButtonStyle;
61861847f8eSopenharmony_ci
61961847f8eSopenharmony_ci  /**
62061847f8eSopenharmony_ci   * Set the CancelButton icon
62161847f8eSopenharmony_ci   *
62261847f8eSopenharmony_ci   * @type { ?IconOptions }
62361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
62461847f8eSopenharmony_ci   * @crossplatform
62561847f8eSopenharmony_ci   * @atomicservice
62661847f8eSopenharmony_ci   * @since 12
62761847f8eSopenharmony_ci   */
62861847f8eSopenharmony_ci  icon?: IconOptions;
62961847f8eSopenharmony_ci}
63061847f8eSopenharmony_ci
63161847f8eSopenharmony_ci/**
63261847f8eSopenharmony_ci * Defines the CancelButton symbol options
63361847f8eSopenharmony_ci *
63461847f8eSopenharmony_ci * @interface CancelButtonSymbolOptions
63561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
63661847f8eSopenharmony_ci * @crossplatform
63761847f8eSopenharmony_ci * @atomicservice
63861847f8eSopenharmony_ci * @since 12
63961847f8eSopenharmony_ci */
64061847f8eSopenharmony_ciinterface CancelButtonSymbolOptions {
64161847f8eSopenharmony_ci  /**
64261847f8eSopenharmony_ci   * Set the CancelButton style
64361847f8eSopenharmony_ci   *
64461847f8eSopenharmony_ci   * @type { ?CancelButtonStyle }
64561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
64661847f8eSopenharmony_ci   * @crossplatform
64761847f8eSopenharmony_ci   * @atomicservice
64861847f8eSopenharmony_ci   * @since 12
64961847f8eSopenharmony_ci   */
65061847f8eSopenharmony_ci  style?: CancelButtonStyle;
65161847f8eSopenharmony_ci
65261847f8eSopenharmony_ci  /**
65361847f8eSopenharmony_ci   * Set the CancelButton symbol icon
65461847f8eSopenharmony_ci   *
65561847f8eSopenharmony_ci   * @type { ?SymbolGlyphModifier }
65661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
65761847f8eSopenharmony_ci   * @crossplatform
65861847f8eSopenharmony_ci   * @atomicservice
65961847f8eSopenharmony_ci   * @since 12
66061847f8eSopenharmony_ci   */
66161847f8eSopenharmony_ci  icon?: SymbolGlyphModifier;
66261847f8eSopenharmony_ci}
66361847f8eSopenharmony_ci
66461847f8eSopenharmony_ci/**
66561847f8eSopenharmony_ci * The attribute function of search
66661847f8eSopenharmony_ci *
66761847f8eSopenharmony_ci * @extends CommonMethod<SearchAttribute>
66861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
66961847f8eSopenharmony_ci * @since 8
67061847f8eSopenharmony_ci */
67161847f8eSopenharmony_ci/**
67261847f8eSopenharmony_ci * The attribute function of search
67361847f8eSopenharmony_ci *
67461847f8eSopenharmony_ci * @extends CommonMethod<SearchAttribute>
67561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
67661847f8eSopenharmony_ci * @crossplatform
67761847f8eSopenharmony_ci * @since 10
67861847f8eSopenharmony_ci */
67961847f8eSopenharmony_ci/**
68061847f8eSopenharmony_ci * The attribute function of search
68161847f8eSopenharmony_ci *
68261847f8eSopenharmony_ci * @extends CommonMethod<SearchAttribute>
68361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
68461847f8eSopenharmony_ci * @crossplatform
68561847f8eSopenharmony_ci * @atomicservice
68661847f8eSopenharmony_ci * @since 11
68761847f8eSopenharmony_ci */
68861847f8eSopenharmony_cideclare class SearchAttribute extends CommonMethod<SearchAttribute> {
68961847f8eSopenharmony_ci  /**
69061847f8eSopenharmony_ci   * Set the search button text
69161847f8eSopenharmony_ci   *
69261847f8eSopenharmony_ci   * @param { string } value - indicates the text of the search button.
69361847f8eSopenharmony_ci   * @param { SearchButtonOption } option
69461847f8eSopenharmony_ci   * @returns { SearchAttribute }
69561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
69661847f8eSopenharmony_ci   * @since 8
69761847f8eSopenharmony_ci   */
69861847f8eSopenharmony_ci  /**
69961847f8eSopenharmony_ci   * Set the search button text, fontSize and fontColor
70061847f8eSopenharmony_ci   *
70161847f8eSopenharmony_ci   * @param { string } value - indicates the text of the search button.
70261847f8eSopenharmony_ci   * @param { SearchButtonOptions } option - indicates the fontSize and fontColor of the search button.
70361847f8eSopenharmony_ci   * @returns { SearchAttribute }
70461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
70561847f8eSopenharmony_ci   * @crossplatform
70661847f8eSopenharmony_ci   * @since 10
70761847f8eSopenharmony_ci   */
70861847f8eSopenharmony_ci  /**
70961847f8eSopenharmony_ci   * Set the search button text, fontSize and fontColor
71061847f8eSopenharmony_ci   *
71161847f8eSopenharmony_ci   * @param { string } value - indicates the text of the search button.
71261847f8eSopenharmony_ci   * @param { SearchButtonOptions } option - indicates the fontSize and fontColor of the search button.
71361847f8eSopenharmony_ci   * @returns { SearchAttribute }
71461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
71561847f8eSopenharmony_ci   * @crossplatform
71661847f8eSopenharmony_ci   * @atomicservice
71761847f8eSopenharmony_ci   * @since 11
71861847f8eSopenharmony_ci   */
71961847f8eSopenharmony_ci  searchButton(value: string, option?: SearchButtonOptions): SearchAttribute;
72061847f8eSopenharmony_ci
72161847f8eSopenharmony_ci  /**
72261847f8eSopenharmony_ci   * Set the text Color
72361847f8eSopenharmony_ci   *
72461847f8eSopenharmony_ci   * @param { ResourceColor } value - indicates the color of the text.
72561847f8eSopenharmony_ci   * @returns { SearchAttribute }
72661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
72761847f8eSopenharmony_ci   * @crossplatform
72861847f8eSopenharmony_ci   * @since 10
72961847f8eSopenharmony_ci   */
73061847f8eSopenharmony_ci  /**
73161847f8eSopenharmony_ci   * Set the text Color
73261847f8eSopenharmony_ci   *
73361847f8eSopenharmony_ci   * @param { ResourceColor } value - indicates the color of the text.
73461847f8eSopenharmony_ci   * @returns { SearchAttribute }
73561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
73661847f8eSopenharmony_ci   * @crossplatform
73761847f8eSopenharmony_ci   * @atomicservice
73861847f8eSopenharmony_ci   * @since 11
73961847f8eSopenharmony_ci   */
74061847f8eSopenharmony_ci  fontColor(value: ResourceColor): SearchAttribute;
74161847f8eSopenharmony_ci
74261847f8eSopenharmony_ci  /**
74361847f8eSopenharmony_ci   * Set the search icon style
74461847f8eSopenharmony_ci   *
74561847f8eSopenharmony_ci   * @param { IconOptions } value - indicates the style of the search icon.
74661847f8eSopenharmony_ci   * @returns { SearchAttribute }
74761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
74861847f8eSopenharmony_ci   * @crossplatform
74961847f8eSopenharmony_ci   * @since 10
75061847f8eSopenharmony_ci   */
75161847f8eSopenharmony_ci  /**
75261847f8eSopenharmony_ci   * Set the search icon style
75361847f8eSopenharmony_ci   *
75461847f8eSopenharmony_ci   * @param { IconOptions } value - indicates the style of the search icon.
75561847f8eSopenharmony_ci   * @returns { SearchAttribute }
75661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
75761847f8eSopenharmony_ci   * @crossplatform
75861847f8eSopenharmony_ci   * @atomicservice
75961847f8eSopenharmony_ci   * @since 11
76061847f8eSopenharmony_ci   */
76161847f8eSopenharmony_ci  /**
76261847f8eSopenharmony_ci   * Set the search icon style
76361847f8eSopenharmony_ci   *
76461847f8eSopenharmony_ci   * @param { IconOptions | SymbolGlyphModifier } value - indicates the style of the search icon.
76561847f8eSopenharmony_ci   * @returns { SearchAttribute }
76661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
76761847f8eSopenharmony_ci   * @crossplatform
76861847f8eSopenharmony_ci   * @atomicservice
76961847f8eSopenharmony_ci   * @since 12
77061847f8eSopenharmony_ci   */
77161847f8eSopenharmony_ci  searchIcon(value: IconOptions | SymbolGlyphModifier): SearchAttribute;
77261847f8eSopenharmony_ci
77361847f8eSopenharmony_ci  /**
77461847f8eSopenharmony_ci   * Set the cancel button style
77561847f8eSopenharmony_ci   *
77661847f8eSopenharmony_ci   * @param { object } value - indicates the style of the cancel button.
77761847f8eSopenharmony_ci   * @returns { SearchAttribute }
77861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
77961847f8eSopenharmony_ci   * @crossplatform
78061847f8eSopenharmony_ci   * @since 10
78161847f8eSopenharmony_ci   */
78261847f8eSopenharmony_ci  /**
78361847f8eSopenharmony_ci   * Set the cancel button style
78461847f8eSopenharmony_ci   *
78561847f8eSopenharmony_ci   * @param { object } value - indicates the style of the cancel button.
78661847f8eSopenharmony_ci   * @returns { SearchAttribute }
78761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
78861847f8eSopenharmony_ci   * @crossplatform
78961847f8eSopenharmony_ci   * @atomicservice
79061847f8eSopenharmony_ci   * @since 11
79161847f8eSopenharmony_ci   */
79261847f8eSopenharmony_ci  /**
79361847f8eSopenharmony_ci   * Set the cancel button style
79461847f8eSopenharmony_ci   *
79561847f8eSopenharmony_ci   * @param { CancelButtonOptions | CancelButtonSymbolOptions } value - indicates the style of the cancel button.
79661847f8eSopenharmony_ci   * @returns { SearchAttribute }
79761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
79861847f8eSopenharmony_ci   * @crossplatform
79961847f8eSopenharmony_ci   * @atomicservice
80061847f8eSopenharmony_ci   * @since 12
80161847f8eSopenharmony_ci   */
80261847f8eSopenharmony_ci  cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions): SearchAttribute;
80361847f8eSopenharmony_ci
80461847f8eSopenharmony_ci  /**
80561847f8eSopenharmony_ci   * Specify the indentation of the first line in a text-block.
80661847f8eSopenharmony_ci   *
80761847f8eSopenharmony_ci   * @param { Dimension } value - The length of text indent.
80861847f8eSopenharmony_ci   * @returns { SearchAttribute } The attribute of the text.
80961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
81061847f8eSopenharmony_ci   * @crossplatform
81161847f8eSopenharmony_ci   * @atomicservice
81261847f8eSopenharmony_ci   * @since 12
81361847f8eSopenharmony_ci   */
81461847f8eSopenharmony_ci  textIndent(value: Dimension): SearchAttribute;
81561847f8eSopenharmony_ci
81661847f8eSopenharmony_ci  /**
81761847f8eSopenharmony_ci   * Called when the inputFilter of text is set.
81861847f8eSopenharmony_ci   *
81961847f8eSopenharmony_ci   * @param { ResourceStr } value
82061847f8eSopenharmony_ci   * @param { Callback<string> } error
82161847f8eSopenharmony_ci   * @returns { SearchAttribute }
82261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
82361847f8eSopenharmony_ci   * @crossplatform
82461847f8eSopenharmony_ci   * @atomicservice
82561847f8eSopenharmony_ci   * @since 12
82661847f8eSopenharmony_ci   */
82761847f8eSopenharmony_ci  inputFilter(value: ResourceStr, error?: Callback<string>): SearchAttribute;
82861847f8eSopenharmony_ci
82961847f8eSopenharmony_ci  /**
83061847f8eSopenharmony_ci   * Called when judging whether the text editing change finished.
83161847f8eSopenharmony_ci   *
83261847f8eSopenharmony_ci   * @param { Callback<boolean> } callback
83361847f8eSopenharmony_ci   * @returns { SearchAttribute }
83461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
83561847f8eSopenharmony_ci   * @crossplatform
83661847f8eSopenharmony_ci   * @atomicservice
83761847f8eSopenharmony_ci   * @since 12
83861847f8eSopenharmony_ci   */
83961847f8eSopenharmony_ci  onEditChange(callback: Callback<boolean>): SearchAttribute;
84061847f8eSopenharmony_ci
84161847f8eSopenharmony_ci  /**
84261847f8eSopenharmony_ci   * Define the text selected background color of the text input.
84361847f8eSopenharmony_ci   *
84461847f8eSopenharmony_ci   * @param { ResourceColor } value
84561847f8eSopenharmony_ci   * @returns { SearchAttribute }
84661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
84761847f8eSopenharmony_ci   * @crossplatform
84861847f8eSopenharmony_ci   * @atomicservice
84961847f8eSopenharmony_ci   * @since 12
85061847f8eSopenharmony_ci   */
85161847f8eSopenharmony_ci  selectedBackgroundColor(value: ResourceColor): SearchAttribute;
85261847f8eSopenharmony_ci
85361847f8eSopenharmony_ci  /**
85461847f8eSopenharmony_ci   * Set the cursor style
85561847f8eSopenharmony_ci   *
85661847f8eSopenharmony_ci   * @param { CaretStyle } value - indicates the style of the cursor.
85761847f8eSopenharmony_ci   * @returns { SearchAttribute }
85861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
85961847f8eSopenharmony_ci   * @crossplatform
86061847f8eSopenharmony_ci   * @since 10
86161847f8eSopenharmony_ci   */
86261847f8eSopenharmony_ci  /**
86361847f8eSopenharmony_ci   * Set the cursor style
86461847f8eSopenharmony_ci   *
86561847f8eSopenharmony_ci   * @param { CaretStyle } value - indicates the style of the cursor.
86661847f8eSopenharmony_ci   * @returns { SearchAttribute }
86761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
86861847f8eSopenharmony_ci   * @crossplatform
86961847f8eSopenharmony_ci   * @atomicservice
87061847f8eSopenharmony_ci   * @since 11
87161847f8eSopenharmony_ci   */
87261847f8eSopenharmony_ci  caretStyle(value: CaretStyle): SearchAttribute;
87361847f8eSopenharmony_ci
87461847f8eSopenharmony_ci  /**
87561847f8eSopenharmony_ci   * Set the place hold text color
87661847f8eSopenharmony_ci   *
87761847f8eSopenharmony_ci   * @param { ResourceColor } value
87861847f8eSopenharmony_ci   * @returns { SearchAttribute }
87961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
88061847f8eSopenharmony_ci   * @since 8
88161847f8eSopenharmony_ci   */
88261847f8eSopenharmony_ci  /**
88361847f8eSopenharmony_ci   * Set the place hold text color
88461847f8eSopenharmony_ci   *
88561847f8eSopenharmony_ci   * @param { ResourceColor } value
88661847f8eSopenharmony_ci   * @returns { SearchAttribute }
88761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
88861847f8eSopenharmony_ci   * @crossplatform
88961847f8eSopenharmony_ci   * @since 10
89061847f8eSopenharmony_ci   */
89161847f8eSopenharmony_ci  /**
89261847f8eSopenharmony_ci   * Set the place hold text color
89361847f8eSopenharmony_ci   *
89461847f8eSopenharmony_ci   * @param { ResourceColor } value
89561847f8eSopenharmony_ci   * @returns { SearchAttribute }
89661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
89761847f8eSopenharmony_ci   * @crossplatform
89861847f8eSopenharmony_ci   * @atomicservice
89961847f8eSopenharmony_ci   * @since 11
90061847f8eSopenharmony_ci   */
90161847f8eSopenharmony_ci  placeholderColor(value: ResourceColor): SearchAttribute;
90261847f8eSopenharmony_ci
90361847f8eSopenharmony_ci  /**
90461847f8eSopenharmony_ci   * Set the font used for place holder text
90561847f8eSopenharmony_ci   *
90661847f8eSopenharmony_ci   * @param { Font } value
90761847f8eSopenharmony_ci   * @returns { SearchAttribute }
90861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
90961847f8eSopenharmony_ci   * @since 8
91061847f8eSopenharmony_ci   */
91161847f8eSopenharmony_ci  /**
91261847f8eSopenharmony_ci   * Set the font used for place holder text
91361847f8eSopenharmony_ci   *
91461847f8eSopenharmony_ci   * @param { Font } value
91561847f8eSopenharmony_ci   * @returns { SearchAttribute }
91661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
91761847f8eSopenharmony_ci   * @crossplatform
91861847f8eSopenharmony_ci   * @since 10
91961847f8eSopenharmony_ci   */
92061847f8eSopenharmony_ci  /**
92161847f8eSopenharmony_ci   * Set the font used for place holder text
92261847f8eSopenharmony_ci   *
92361847f8eSopenharmony_ci   * @param { Font } value
92461847f8eSopenharmony_ci   * @returns { SearchAttribute }
92561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
92661847f8eSopenharmony_ci   * @crossplatform
92761847f8eSopenharmony_ci   * @atomicservice
92861847f8eSopenharmony_ci   * @since 11
92961847f8eSopenharmony_ci   */
93061847f8eSopenharmony_ci  placeholderFont(value?: Font): SearchAttribute;
93161847f8eSopenharmony_ci
93261847f8eSopenharmony_ci  /**
93361847f8eSopenharmony_ci   * Set the font used for input text
93461847f8eSopenharmony_ci   *
93561847f8eSopenharmony_ci   * @param { Font } value
93661847f8eSopenharmony_ci   * @returns { SearchAttribute }
93761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
93861847f8eSopenharmony_ci   * @since 8
93961847f8eSopenharmony_ci   */
94061847f8eSopenharmony_ci  /**
94161847f8eSopenharmony_ci   * Set the font used for input text
94261847f8eSopenharmony_ci   *
94361847f8eSopenharmony_ci   * @param { Font } value
94461847f8eSopenharmony_ci   * @returns { SearchAttribute }
94561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
94661847f8eSopenharmony_ci   * @crossplatform
94761847f8eSopenharmony_ci   * @since 10
94861847f8eSopenharmony_ci   */
94961847f8eSopenharmony_ci  /**
95061847f8eSopenharmony_ci   * Set the font used for input text
95161847f8eSopenharmony_ci   *
95261847f8eSopenharmony_ci   * @param { Font } value
95361847f8eSopenharmony_ci   * @returns { SearchAttribute }
95461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
95561847f8eSopenharmony_ci   * @crossplatform
95661847f8eSopenharmony_ci   * @atomicservice
95761847f8eSopenharmony_ci   * @since 11
95861847f8eSopenharmony_ci   */
95961847f8eSopenharmony_ci  textFont(value?: Font): SearchAttribute;
96061847f8eSopenharmony_ci
96161847f8eSopenharmony_ci  /**
96261847f8eSopenharmony_ci   * Set enter key type of soft keyboard
96361847f8eSopenharmony_ci   *
96461847f8eSopenharmony_ci   * @param { EnterKeyType } value
96561847f8eSopenharmony_ci   * @returns { SearchAttribute }
96661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
96761847f8eSopenharmony_ci   * @crossplatform
96861847f8eSopenharmony_ci   * @atomicservice
96961847f8eSopenharmony_ci   * @since 12
97061847f8eSopenharmony_ci   */
97161847f8eSopenharmony_ci  enterKeyType(value: EnterKeyType): SearchAttribute;
97261847f8eSopenharmony_ci
97361847f8eSopenharmony_ci  /**
97461847f8eSopenharmony_ci   * Call the function when clicked the search button
97561847f8eSopenharmony_ci   *
97661847f8eSopenharmony_ci   * @param { function } callback
97761847f8eSopenharmony_ci   * @returns { SearchAttribute }
97861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
97961847f8eSopenharmony_ci   * @since 8
98061847f8eSopenharmony_ci   */
98161847f8eSopenharmony_ci  /**
98261847f8eSopenharmony_ci   * Call the function when clicked the search button
98361847f8eSopenharmony_ci   *
98461847f8eSopenharmony_ci   * @param { function } callback
98561847f8eSopenharmony_ci   * @returns { SearchAttribute }
98661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
98761847f8eSopenharmony_ci   * @crossplatform
98861847f8eSopenharmony_ci   * @since 10
98961847f8eSopenharmony_ci   */
99061847f8eSopenharmony_ci  /**
99161847f8eSopenharmony_ci   * Call the function when clicked the search button
99261847f8eSopenharmony_ci   *
99361847f8eSopenharmony_ci   * @param { function } callback
99461847f8eSopenharmony_ci   * @returns { SearchAttribute }
99561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
99661847f8eSopenharmony_ci   * @crossplatform
99761847f8eSopenharmony_ci   * @atomicservice
99861847f8eSopenharmony_ci   * @since 11
99961847f8eSopenharmony_ci   */
100061847f8eSopenharmony_ci  /**
100161847f8eSopenharmony_ci   * Call the function when clicked the search button.
100261847f8eSopenharmony_ci   *
100361847f8eSopenharmony_ci   * @param { Callback<string> } callback
100461847f8eSopenharmony_ci   * @returns { SearchAttribute }
100561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
100661847f8eSopenharmony_ci   * @crossplatform
100761847f8eSopenharmony_ci   * @atomicservice
100861847f8eSopenharmony_ci   * @since 14
100961847f8eSopenharmony_ci   */
101061847f8eSopenharmony_ci  onSubmit(callback: Callback<string>): SearchAttribute;
101161847f8eSopenharmony_ci
101261847f8eSopenharmony_ci  /**
101361847f8eSopenharmony_ci   * Call the function when editing the input text
101461847f8eSopenharmony_ci   *
101561847f8eSopenharmony_ci   * @param { function } callback
101661847f8eSopenharmony_ci   * @returns { SearchAttribute }
101761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
101861847f8eSopenharmony_ci   * @since 8
101961847f8eSopenharmony_ci   */
102061847f8eSopenharmony_ci  /**
102161847f8eSopenharmony_ci   * Call the function when editing the input text
102261847f8eSopenharmony_ci   *
102361847f8eSopenharmony_ci   * @param { function } callback
102461847f8eSopenharmony_ci   * @returns { SearchAttribute }
102561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
102661847f8eSopenharmony_ci   * @crossplatform
102761847f8eSopenharmony_ci   * @since 10
102861847f8eSopenharmony_ci   */
102961847f8eSopenharmony_ci  /**
103061847f8eSopenharmony_ci   * Call the function when editing the input text
103161847f8eSopenharmony_ci   *
103261847f8eSopenharmony_ci   * @param { function } callback
103361847f8eSopenharmony_ci   * @returns { SearchAttribute }
103461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
103561847f8eSopenharmony_ci   * @crossplatform
103661847f8eSopenharmony_ci   * @atomicservice
103761847f8eSopenharmony_ci   * @since 11
103861847f8eSopenharmony_ci   */
103961847f8eSopenharmony_ci  /**
104061847f8eSopenharmony_ci   * Call the function when editing the input text
104161847f8eSopenharmony_ci   *
104261847f8eSopenharmony_ci   * @param { EditableTextOnChangeCallback } callback
104361847f8eSopenharmony_ci   * @returns { SearchAttribute }
104461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
104561847f8eSopenharmony_ci   * @crossplatform
104661847f8eSopenharmony_ci   * @atomicservice
104761847f8eSopenharmony_ci   * @since 12
104861847f8eSopenharmony_ci   */
104961847f8eSopenharmony_ci  onChange(callback: EditableTextOnChangeCallback): SearchAttribute;
105061847f8eSopenharmony_ci
105161847f8eSopenharmony_ci  /**
105261847f8eSopenharmony_ci   * Called when the text selection changes.
105361847f8eSopenharmony_ci   *
105461847f8eSopenharmony_ci   * @param { function } callback - callback of the listened event.
105561847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
105661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
105761847f8eSopenharmony_ci   * @crossplatform
105861847f8eSopenharmony_ci   * @since 10
105961847f8eSopenharmony_ci   */
106061847f8eSopenharmony_ci  /**
106161847f8eSopenharmony_ci   * Called when the text selection changes.
106261847f8eSopenharmony_ci   *
106361847f8eSopenharmony_ci   * @param { function } callback - callback of the listened event.
106461847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
106561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
106661847f8eSopenharmony_ci   * @crossplatform
106761847f8eSopenharmony_ci   * @atomicservice
106861847f8eSopenharmony_ci   * @since 11
106961847f8eSopenharmony_ci   */
107061847f8eSopenharmony_ci  /**
107161847f8eSopenharmony_ci   * Called when the text selection changes.
107261847f8eSopenharmony_ci   *
107361847f8eSopenharmony_ci   * @param { OnTextSelectionChangeCallback } callback - Callback of the listened event.
107461847f8eSopenharmony_ci   * @returns { SearchAttribute } Returns the instance of the SearchAttribute.
107561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
107661847f8eSopenharmony_ci   * @crossplatform
107761847f8eSopenharmony_ci   * @atomicservice
107861847f8eSopenharmony_ci   * @since 14
107961847f8eSopenharmony_ci   */
108061847f8eSopenharmony_ci  onTextSelectionChange(callback: OnTextSelectionChangeCallback): SearchAttribute;
108161847f8eSopenharmony_ci
108261847f8eSopenharmony_ci  /**
108361847f8eSopenharmony_ci   * Called when the content scrolls.
108461847f8eSopenharmony_ci   *
108561847f8eSopenharmony_ci   * @param { function } callback - callback of the listened event.
108661847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
108761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
108861847f8eSopenharmony_ci   * @crossplatform
108961847f8eSopenharmony_ci   * @since 10
109061847f8eSopenharmony_ci   */
109161847f8eSopenharmony_ci  /**
109261847f8eSopenharmony_ci   * Called when the content scrolls.
109361847f8eSopenharmony_ci   *
109461847f8eSopenharmony_ci   * @param { function } callback - callback of the listened event.
109561847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
109661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
109761847f8eSopenharmony_ci   * @crossplatform
109861847f8eSopenharmony_ci   * @atomicservice
109961847f8eSopenharmony_ci   * @since 11
110061847f8eSopenharmony_ci   */
110161847f8eSopenharmony_ci  /**
110261847f8eSopenharmony_ci   * Called when the content scrolls.
110361847f8eSopenharmony_ci   *
110461847f8eSopenharmony_ci   * @param { OnContentScrollCallback } callback - Callback of the listened event.
110561847f8eSopenharmony_ci   * @returns { SearchAttribute } Returns the instance of the SearchAttribute.
110661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
110761847f8eSopenharmony_ci   * @crossplatform
110861847f8eSopenharmony_ci   * @atomicservice
110961847f8eSopenharmony_ci   * @since 14
111061847f8eSopenharmony_ci   */
111161847f8eSopenharmony_ci  onContentScroll(callback: OnContentScrollCallback): SearchAttribute;
111261847f8eSopenharmony_ci
111361847f8eSopenharmony_ci  /**
111461847f8eSopenharmony_ci   * Called when using the Clipboard menu
111561847f8eSopenharmony_ci   *
111661847f8eSopenharmony_ci   * @param { function } callback
111761847f8eSopenharmony_ci   * @returns { SearchAttribute }
111861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
111961847f8eSopenharmony_ci   * @since 8
112061847f8eSopenharmony_ci   */
112161847f8eSopenharmony_ci  /**
112261847f8eSopenharmony_ci   * Called when using the Clipboard menu
112361847f8eSopenharmony_ci   *
112461847f8eSopenharmony_ci   * @param { function } callback
112561847f8eSopenharmony_ci   * @returns { SearchAttribute }
112661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
112761847f8eSopenharmony_ci   * @crossplatform
112861847f8eSopenharmony_ci   * @since 10
112961847f8eSopenharmony_ci   */
113061847f8eSopenharmony_ci  /**
113161847f8eSopenharmony_ci   * Called when using the Clipboard menu
113261847f8eSopenharmony_ci   *
113361847f8eSopenharmony_ci   * @param { function } callback
113461847f8eSopenharmony_ci   * @returns { SearchAttribute }
113561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
113661847f8eSopenharmony_ci   * @crossplatform
113761847f8eSopenharmony_ci   * @atomicservice
113861847f8eSopenharmony_ci   * @since 11
113961847f8eSopenharmony_ci   */
114061847f8eSopenharmony_ci  /**
114161847f8eSopenharmony_ci   * Called when using the Clipboard menu.
114261847f8eSopenharmony_ci   *
114361847f8eSopenharmony_ci   * @param { Callback<string> } callback
114461847f8eSopenharmony_ci   * @returns { SearchAttribute }
114561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
114661847f8eSopenharmony_ci   * @crossplatform
114761847f8eSopenharmony_ci   * @atomicservice
114861847f8eSopenharmony_ci   * @since 14
114961847f8eSopenharmony_ci   */
115061847f8eSopenharmony_ci  onCopy(callback: Callback<string>): SearchAttribute;
115161847f8eSopenharmony_ci
115261847f8eSopenharmony_ci  /**
115361847f8eSopenharmony_ci   * Called when using the Clipboard menu
115461847f8eSopenharmony_ci   *
115561847f8eSopenharmony_ci   * @param { function } callback
115661847f8eSopenharmony_ci   * @returns { SearchAttribute }
115761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
115861847f8eSopenharmony_ci   * @since 8
115961847f8eSopenharmony_ci   */
116061847f8eSopenharmony_ci  /**
116161847f8eSopenharmony_ci   * Called when using the Clipboard menu
116261847f8eSopenharmony_ci   *
116361847f8eSopenharmony_ci   * @param { function } callback
116461847f8eSopenharmony_ci   * @returns { SearchAttribute }
116561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
116661847f8eSopenharmony_ci   * @crossplatform
116761847f8eSopenharmony_ci   * @since 10
116861847f8eSopenharmony_ci   */
116961847f8eSopenharmony_ci  /**
117061847f8eSopenharmony_ci   * Called when using the Clipboard menu
117161847f8eSopenharmony_ci   *
117261847f8eSopenharmony_ci   * @param { function } callback
117361847f8eSopenharmony_ci   * @returns { SearchAttribute }
117461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
117561847f8eSopenharmony_ci   * @crossplatform
117661847f8eSopenharmony_ci   * @atomicservice
117761847f8eSopenharmony_ci   * @since 11
117861847f8eSopenharmony_ci   */
117961847f8eSopenharmony_ci  /**
118061847f8eSopenharmony_ci   * Called when using the Clipboard menu.
118161847f8eSopenharmony_ci   *
118261847f8eSopenharmony_ci   * @param { Callback<string> } callback
118361847f8eSopenharmony_ci   * @returns { SearchAttribute }
118461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
118561847f8eSopenharmony_ci   * @crossplatform
118661847f8eSopenharmony_ci   * @atomicservice
118761847f8eSopenharmony_ci   * @since 14
118861847f8eSopenharmony_ci   */
118961847f8eSopenharmony_ci  onCut(callback: Callback<string>): SearchAttribute;
119061847f8eSopenharmony_ci
119161847f8eSopenharmony_ci  /**
119261847f8eSopenharmony_ci   * Called when using the Clipboard menu
119361847f8eSopenharmony_ci   *
119461847f8eSopenharmony_ci   * @param { function } callback
119561847f8eSopenharmony_ci   * @returns { SearchAttribute }
119661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
119761847f8eSopenharmony_ci   * @since 8
119861847f8eSopenharmony_ci   */
119961847f8eSopenharmony_ci  /**
120061847f8eSopenharmony_ci   * Called when using the Clipboard menu
120161847f8eSopenharmony_ci   *
120261847f8eSopenharmony_ci   * @param { function } callback
120361847f8eSopenharmony_ci   * @returns { SearchAttribute }
120461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
120561847f8eSopenharmony_ci   * @crossplatform
120661847f8eSopenharmony_ci   * @since 10
120761847f8eSopenharmony_ci   */
120861847f8eSopenharmony_ci  /**
120961847f8eSopenharmony_ci   * Called when using the Clipboard menu
121061847f8eSopenharmony_ci   *
121161847f8eSopenharmony_ci   * @param { function } callback
121261847f8eSopenharmony_ci   *          Executed when a paste operation is performed.
121361847f8eSopenharmony_ci   *          { string } value - The text content to be pasted.
121461847f8eSopenharmony_ci   *          { PasteEvent } event - The user-defined paste event.
121561847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
121661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
121761847f8eSopenharmony_ci   * @crossplatform
121861847f8eSopenharmony_ci   * @atomicservice
121961847f8eSopenharmony_ci   * @since 11
122061847f8eSopenharmony_ci   */
122161847f8eSopenharmony_ci  /**
122261847f8eSopenharmony_ci   * Called when using the Clipboard menu.
122361847f8eSopenharmony_ci   *
122461847f8eSopenharmony_ci   * @param { OnPasteCallback } callback - Executed when a paste operation is performed.
122561847f8eSopenharmony_ci   * @returns { SearchAttribute } Returns the instance of the SearchAttribute.
122661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
122761847f8eSopenharmony_ci   * @crossplatform
122861847f8eSopenharmony_ci   * @atomicservice
122961847f8eSopenharmony_ci   * @since 14
123061847f8eSopenharmony_ci   */
123161847f8eSopenharmony_ci  onPaste(callback: OnPasteCallback): SearchAttribute;
123261847f8eSopenharmony_ci
123361847f8eSopenharmony_ci  /**
123461847f8eSopenharmony_ci   * Called when the copy option is set.
123561847f8eSopenharmony_ci   *
123661847f8eSopenharmony_ci   * @param { CopyOptions } value
123761847f8eSopenharmony_ci   * @returns { SearchAttribute }
123861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
123961847f8eSopenharmony_ci   * @since 9
124061847f8eSopenharmony_ci   */
124161847f8eSopenharmony_ci  /**
124261847f8eSopenharmony_ci   * Called when the copy option is set.
124361847f8eSopenharmony_ci   *
124461847f8eSopenharmony_ci   * @param { CopyOptions } value
124561847f8eSopenharmony_ci   * @returns { SearchAttribute }
124661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
124761847f8eSopenharmony_ci   * @crossplatform
124861847f8eSopenharmony_ci   * @since 10
124961847f8eSopenharmony_ci   */
125061847f8eSopenharmony_ci  /**
125161847f8eSopenharmony_ci   * Called when the copy option is set.
125261847f8eSopenharmony_ci   *
125361847f8eSopenharmony_ci   * @param { CopyOptions } value
125461847f8eSopenharmony_ci   * @returns { SearchAttribute }
125561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
125661847f8eSopenharmony_ci   * @crossplatform
125761847f8eSopenharmony_ci   * @atomicservice
125861847f8eSopenharmony_ci   * @since 11
125961847f8eSopenharmony_ci   */
126061847f8eSopenharmony_ci  copyOption(value: CopyOptions): SearchAttribute;
126161847f8eSopenharmony_ci
126261847f8eSopenharmony_ci  /**
126361847f8eSopenharmony_ci   * Called when the input of maximum text length is set.
126461847f8eSopenharmony_ci   *
126561847f8eSopenharmony_ci   * @param { number } value
126661847f8eSopenharmony_ci   * @returns { SearchAttribute }
126761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
126861847f8eSopenharmony_ci   * crossplatform
126961847f8eSopenharmony_ci   * @since 11
127061847f8eSopenharmony_ci   */
127161847f8eSopenharmony_ci  /**
127261847f8eSopenharmony_ci   * Called when the input of maximum text length is set.
127361847f8eSopenharmony_ci   *
127461847f8eSopenharmony_ci   * @param { number } value
127561847f8eSopenharmony_ci   * @returns { SearchAttribute }
127661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
127761847f8eSopenharmony_ci   * crossplatform
127861847f8eSopenharmony_ci   * @atomicservice
127961847f8eSopenharmony_ci   * @since 12
128061847f8eSopenharmony_ci   */
128161847f8eSopenharmony_ci  maxLength(value: number): SearchAttribute;
128261847f8eSopenharmony_ci
128361847f8eSopenharmony_ci  /**
128461847f8eSopenharmony_ci   * Called when the text align is set.
128561847f8eSopenharmony_ci   *
128661847f8eSopenharmony_ci   * @param { TextAlign } value
128761847f8eSopenharmony_ci   * @returns { SearchAttribute }
128861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
128961847f8eSopenharmony_ci   * @since 9
129061847f8eSopenharmony_ci   */
129161847f8eSopenharmony_ci  /**
129261847f8eSopenharmony_ci   * Called when the text align is set.
129361847f8eSopenharmony_ci   *
129461847f8eSopenharmony_ci   * @param { TextAlign } value
129561847f8eSopenharmony_ci   * @returns { SearchAttribute }
129661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
129761847f8eSopenharmony_ci   * @crossplatform
129861847f8eSopenharmony_ci   * @since 10
129961847f8eSopenharmony_ci   */
130061847f8eSopenharmony_ci  /**
130161847f8eSopenharmony_ci   * Called when the text align is set.
130261847f8eSopenharmony_ci   *
130361847f8eSopenharmony_ci   * @param { TextAlign } value
130461847f8eSopenharmony_ci   * @returns { SearchAttribute }
130561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
130661847f8eSopenharmony_ci   * @crossplatform
130761847f8eSopenharmony_ci   * @atomicservice
130861847f8eSopenharmony_ci   * @since 11
130961847f8eSopenharmony_ci   */
131061847f8eSopenharmony_ci  textAlign(value: TextAlign): SearchAttribute;
131161847f8eSopenharmony_ci
131261847f8eSopenharmony_ci  /**
131361847f8eSopenharmony_ci   * Sets whether request keyboard or not when on focus.
131461847f8eSopenharmony_ci   *
131561847f8eSopenharmony_ci   * @param { boolean } value
131661847f8eSopenharmony_ci   * @returns { SearchAttribute } Returns the instance of the SearchAttribute.
131761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
131861847f8eSopenharmony_ci   * @crossplatform
131961847f8eSopenharmony_ci   * @since 10
132061847f8eSopenharmony_ci   */
132161847f8eSopenharmony_ci  /**
132261847f8eSopenharmony_ci   * Sets whether request keyboard or not when on focus.
132361847f8eSopenharmony_ci   *
132461847f8eSopenharmony_ci   * @param { boolean } value
132561847f8eSopenharmony_ci   * @returns { SearchAttribute } Returns the instance of the SearchAttribute.
132661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
132761847f8eSopenharmony_ci   * @crossplatform
132861847f8eSopenharmony_ci   * @atomicservice
132961847f8eSopenharmony_ci   * @since 11
133061847f8eSopenharmony_ci   */
133161847f8eSopenharmony_ci  enableKeyboardOnFocus(value: boolean): SearchAttribute;
133261847f8eSopenharmony_ci
133361847f8eSopenharmony_ci  /**
133461847f8eSopenharmony_ci   * Controls whether the selection menu pops up.
133561847f8eSopenharmony_ci   *
133661847f8eSopenharmony_ci   * @param { boolean } value
133761847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
133861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
133961847f8eSopenharmony_ci   * @crossplatform
134061847f8eSopenharmony_ci   * @since 10
134161847f8eSopenharmony_ci   */
134261847f8eSopenharmony_ci  /**
134361847f8eSopenharmony_ci   * Controls whether the selection menu pops up.
134461847f8eSopenharmony_ci   *
134561847f8eSopenharmony_ci   * @param { boolean } value
134661847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
134761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
134861847f8eSopenharmony_ci   * @crossplatform
134961847f8eSopenharmony_ci   * @atomicservice
135061847f8eSopenharmony_ci   * @since 11
135161847f8eSopenharmony_ci   */
135261847f8eSopenharmony_ci  selectionMenuHidden(value: boolean): SearchAttribute;
135361847f8eSopenharmony_ci
135461847f8eSopenharmony_ci  /**
135561847f8eSopenharmony_ci   * Called when the minimum font size of the font is set.
135661847f8eSopenharmony_ci   *
135761847f8eSopenharmony_ci   * @param { number | string | Resource } value
135861847f8eSopenharmony_ci   * @returns { SearchAttribute }
135961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
136061847f8eSopenharmony_ci   * @crossplatform
136161847f8eSopenharmony_ci   * @atomicservice
136261847f8eSopenharmony_ci   * @since 12
136361847f8eSopenharmony_ci   */
136461847f8eSopenharmony_ci  minFontSize(value: number | string | Resource): SearchAttribute;
136561847f8eSopenharmony_ci
136661847f8eSopenharmony_ci  /**
136761847f8eSopenharmony_ci   * Called when the maximum font size of the font is set.
136861847f8eSopenharmony_ci   *
136961847f8eSopenharmony_ci   * @param { number | string | Resource } value
137061847f8eSopenharmony_ci   * @returns { SearchAttribute }
137161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
137261847f8eSopenharmony_ci   * @crossplatform
137361847f8eSopenharmony_ci   * @atomicservice
137461847f8eSopenharmony_ci   * @since 12
137561847f8eSopenharmony_ci   */
137661847f8eSopenharmony_ci  maxFontSize(value: number | string | Resource): SearchAttribute;
137761847f8eSopenharmony_ci
137861847f8eSopenharmony_ci  /**
137961847f8eSopenharmony_ci   * Define custom keyboard.
138061847f8eSopenharmony_ci   *
138161847f8eSopenharmony_ci   * @param { CustomBuilder } value
138261847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
138361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
138461847f8eSopenharmony_ci   * @since 10
138561847f8eSopenharmony_ci   */
138661847f8eSopenharmony_ci  /**
138761847f8eSopenharmony_ci   * Define custom keyboard.
138861847f8eSopenharmony_ci   *
138961847f8eSopenharmony_ci   * @param { CustomBuilder } value
139061847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
139161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
139261847f8eSopenharmony_ci   * @crossplatform
139361847f8eSopenharmony_ci   * @atomicservice
139461847f8eSopenharmony_ci   * @since 11
139561847f8eSopenharmony_ci   */
139661847f8eSopenharmony_ci  /**
139761847f8eSopenharmony_ci   * Define custom keyboard.
139861847f8eSopenharmony_ci   *
139961847f8eSopenharmony_ci   * @param { CustomBuilder } value - Set up a custom keyboard of Search
140061847f8eSopenharmony_ci   * @param { KeyboardOptions } [options] - Indicates the custom keyboard options of Search
140161847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
140261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
140361847f8eSopenharmony_ci   * @crossplatform
140461847f8eSopenharmony_ci   * @atomicservice
140561847f8eSopenharmony_ci   * @since 12
140661847f8eSopenharmony_ci   */
140761847f8eSopenharmony_ci  customKeyboard(value: CustomBuilder, options?: KeyboardOptions): SearchAttribute;
140861847f8eSopenharmony_ci
140961847f8eSopenharmony_ci  /**
141061847f8eSopenharmony_ci   * Called when the text decoration of the text is set.
141161847f8eSopenharmony_ci   *
141261847f8eSopenharmony_ci   * @param { TextDecorationOptions } value
141361847f8eSopenharmony_ci   * @returns { SearchAttribute }
141461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
141561847f8eSopenharmony_ci   * @crossplatform
141661847f8eSopenharmony_ci   * @atomicservice
141761847f8eSopenharmony_ci   * @since 12
141861847f8eSopenharmony_ci   */
141961847f8eSopenharmony_ci  decoration(value: TextDecorationOptions): SearchAttribute;
142061847f8eSopenharmony_ci
142161847f8eSopenharmony_ci  /**
142261847f8eSopenharmony_ci   * Called when the distance between text fonts is set.
142361847f8eSopenharmony_ci   *
142461847f8eSopenharmony_ci   * @param { number | string | Resource } value
142561847f8eSopenharmony_ci   * @returns { SearchAttribute }
142661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
142761847f8eSopenharmony_ci   * @crossplatform
142861847f8eSopenharmony_ci   * @atomicservice
142961847f8eSopenharmony_ci   * @since 12
143061847f8eSopenharmony_ci   */
143161847f8eSopenharmony_ci  letterSpacing(value: number | string | Resource): SearchAttribute;
143261847f8eSopenharmony_ci
143361847f8eSopenharmony_ci  /**
143461847f8eSopenharmony_ci   * Called when the line height of the font is set.
143561847f8eSopenharmony_ci   *
143661847f8eSopenharmony_ci   * @param { number | string | Resource } value
143761847f8eSopenharmony_ci   * @returns { SearchAttribute }
143861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
143961847f8eSopenharmony_ci   * @crossplatform
144061847f8eSopenharmony_ci   * @atomicservice
144161847f8eSopenharmony_ci   * @since 12
144261847f8eSopenharmony_ci   */
144361847f8eSopenharmony_ci  lineHeight(value: number | string | Resource): SearchAttribute;
144461847f8eSopenharmony_ci
144561847f8eSopenharmony_ci  /**
144661847f8eSopenharmony_ci   * Called when the search type is set.
144761847f8eSopenharmony_ci   *
144861847f8eSopenharmony_ci   * @param { SearchType } value
144961847f8eSopenharmony_ci   * @returns { SearchAttribute }
145061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
145161847f8eSopenharmony_ci   * @crossplatform
145261847f8eSopenharmony_ci   * @since 11
145361847f8eSopenharmony_ci   */
145461847f8eSopenharmony_ci  /**
145561847f8eSopenharmony_ci   * Called when the search type is set.
145661847f8eSopenharmony_ci   *
145761847f8eSopenharmony_ci   * @param { SearchType } value
145861847f8eSopenharmony_ci   * @returns { SearchAttribute }
145961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
146061847f8eSopenharmony_ci   * @crossplatform
146161847f8eSopenharmony_ci   * @atomicservice
146261847f8eSopenharmony_ci   * @since 12
146361847f8eSopenharmony_ci   */
146461847f8eSopenharmony_ci  type(value: SearchType): SearchAttribute;
146561847f8eSopenharmony_ci
146661847f8eSopenharmony_ci  /**
146761847f8eSopenharmony_ci   * Set font feature.
146861847f8eSopenharmony_ci   *
146961847f8eSopenharmony_ci   * @param { string } value - The fontFeature.
147061847f8eSopenharmony_ci   * normal | <feature-tag-value>, 
147161847f8eSopenharmony_ci   * where <feature-tag-value> = <string> [ <integer> | on | off ], like: "ss01" 0
147261847f8eSopenharmony_ci   * the values of <feature-tag-value> reference to doc of search component
147361847f8eSopenharmony_ci   * number of <feature-tag-value> can be single or multiple, and separated by comma ','.
147461847f8eSopenharmony_ci   * @returns { SearchAttribute }
147561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
147661847f8eSopenharmony_ci   * @crossplatform
147761847f8eSopenharmony_ci   * @atomicservice
147861847f8eSopenharmony_ci   * @since 12
147961847f8eSopenharmony_ci   */
148061847f8eSopenharmony_ci  fontFeature(value: string): SearchAttribute;
148161847f8eSopenharmony_ci
148261847f8eSopenharmony_ci  /**
148361847f8eSopenharmony_ci   * Get text value information when about to input.
148461847f8eSopenharmony_ci   *
148561847f8eSopenharmony_ci   * @param { Callback<InsertValue, boolean> } callback - The triggered function when text content is about to insert.
148661847f8eSopenharmony_ci   * @returns { SearchAttribute }
148761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
148861847f8eSopenharmony_ci   * @crossplatform
148961847f8eSopenharmony_ci   * @atomicservice
149061847f8eSopenharmony_ci   * @since 12
149161847f8eSopenharmony_ci   */
149261847f8eSopenharmony_ci  onWillInsert(callback: Callback<InsertValue, boolean>): SearchAttribute;
149361847f8eSopenharmony_ci
149461847f8eSopenharmony_ci  /**
149561847f8eSopenharmony_ci   * Get text value information when completed input.
149661847f8eSopenharmony_ci   *
149761847f8eSopenharmony_ci   * @param { Callback<InsertValue> } callback - The triggered function when text content has been inserted.
149861847f8eSopenharmony_ci   * @returns { SearchAttribute }
149961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
150061847f8eSopenharmony_ci   * @crossplatform
150161847f8eSopenharmony_ci   * @atomicservice
150261847f8eSopenharmony_ci   * @since 12
150361847f8eSopenharmony_ci   */
150461847f8eSopenharmony_ci  onDidInsert(callback: Callback<InsertValue>): SearchAttribute;
150561847f8eSopenharmony_ci
150661847f8eSopenharmony_ci  /**
150761847f8eSopenharmony_ci   * Get text value information when about to delete.
150861847f8eSopenharmony_ci   *
150961847f8eSopenharmony_ci   * @param { Callback<DeleteValue, boolean> } callback - The triggered function when text content is about to delete.
151061847f8eSopenharmony_ci   * @returns { SearchAttribute }
151161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
151261847f8eSopenharmony_ci   * @crossplatform
151361847f8eSopenharmony_ci   * @atomicservice
151461847f8eSopenharmony_ci   * @since 12
151561847f8eSopenharmony_ci   */
151661847f8eSopenharmony_ci  onWillDelete(callback: Callback<DeleteValue, boolean>): SearchAttribute;
151761847f8eSopenharmony_ci
151861847f8eSopenharmony_ci  /**
151961847f8eSopenharmony_ci   * Get text value information when the deletion has been completed
152061847f8eSopenharmony_ci   *
152161847f8eSopenharmony_ci   * @param { Callback<DeleteValue> } callback - The triggered function when text content has been deleted.
152261847f8eSopenharmony_ci   * @returns { SearchAttribute }
152361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
152461847f8eSopenharmony_ci   * @crossplatform
152561847f8eSopenharmony_ci   * @atomicservice
152661847f8eSopenharmony_ci   * @since 12
152761847f8eSopenharmony_ci   */
152861847f8eSopenharmony_ci  onDidDelete(callback: Callback<DeleteValue>): SearchAttribute;
152961847f8eSopenharmony_ci
153061847f8eSopenharmony_ci  /**
153161847f8eSopenharmony_ci   * Set the custom text menu.
153261847f8eSopenharmony_ci   *
153361847f8eSopenharmony_ci   * @param { EditMenuOptions } editMenu - Customize text menu options.
153461847f8eSopenharmony_ci   * @returns { SearchAttribute }
153561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
153661847f8eSopenharmony_ci   * @crossplatform
153761847f8eSopenharmony_ci   * @atomicservice
153861847f8eSopenharmony_ci   * @since 12
153961847f8eSopenharmony_ci   */
154061847f8eSopenharmony_ci  editMenuOptions(editMenu: EditMenuOptions): SearchAttribute;
154161847f8eSopenharmony_ci
154261847f8eSopenharmony_ci  /**
154361847f8eSopenharmony_ci   * Define the preview text mode of the text input.
154461847f8eSopenharmony_ci   *
154561847f8eSopenharmony_ci   * @param { boolean } enable - Indicates the preview text mode.
154661847f8eSopenharmony_ci   * @returns { SearchAttribute }
154761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
154861847f8eSopenharmony_ci   * @crossplatform
154961847f8eSopenharmony_ci   * @atomicservice
155061847f8eSopenharmony_ci   * @since 12
155161847f8eSopenharmony_ci   */
155261847f8eSopenharmony_ci  enablePreviewText(enable: boolean): SearchAttribute;
155361847f8eSopenharmony_ci
155461847f8eSopenharmony_ci  /**
155561847f8eSopenharmony_ci   * Enable or disable haptic feedback.
155661847f8eSopenharmony_ci   *
155761847f8eSopenharmony_ci   * @param { boolean } isEnabled - Default value is true, set false to disable haptic feedback.
155861847f8eSopenharmony_ci   * @returns { SearchAttribute } returns the instance of the SearchAttribute.
155961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
156061847f8eSopenharmony_ci   * @crossplatform
156161847f8eSopenharmony_ci   * @atomicservice
156261847f8eSopenharmony_ci   * @since 13
156361847f8eSopenharmony_ci   */
156461847f8eSopenharmony_ci  enableHapticFeedback(isEnabled: boolean): SearchAttribute;
156561847f8eSopenharmony_ci}
156661847f8eSopenharmony_ci
156761847f8eSopenharmony_ci/**
156861847f8eSopenharmony_ci * Defines Search Component.
156961847f8eSopenharmony_ci *
157061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
157161847f8eSopenharmony_ci * @since 8
157261847f8eSopenharmony_ci */
157361847f8eSopenharmony_ci/**
157461847f8eSopenharmony_ci * Defines Search Component.
157561847f8eSopenharmony_ci *
157661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
157761847f8eSopenharmony_ci * @crossplatform
157861847f8eSopenharmony_ci * @since 10
157961847f8eSopenharmony_ci */
158061847f8eSopenharmony_ci/**
158161847f8eSopenharmony_ci * Defines Search Component.
158261847f8eSopenharmony_ci *
158361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
158461847f8eSopenharmony_ci * @crossplatform
158561847f8eSopenharmony_ci * @atomicservice
158661847f8eSopenharmony_ci * @since 11
158761847f8eSopenharmony_ci */
158861847f8eSopenharmony_cideclare const Search: SearchInterface;
158961847f8eSopenharmony_ci
159061847f8eSopenharmony_ci/**
159161847f8eSopenharmony_ci * Defines Search Component instance.
159261847f8eSopenharmony_ci *
159361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
159461847f8eSopenharmony_ci * @since 8
159561847f8eSopenharmony_ci */
159661847f8eSopenharmony_ci/**
159761847f8eSopenharmony_ci * Defines Search Component instance.
159861847f8eSopenharmony_ci *
159961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
160061847f8eSopenharmony_ci * @crossplatform
160161847f8eSopenharmony_ci * @since 10
160261847f8eSopenharmony_ci */
160361847f8eSopenharmony_ci/**
160461847f8eSopenharmony_ci * Defines Search Component instance.
160561847f8eSopenharmony_ci *
160661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
160761847f8eSopenharmony_ci * @crossplatform
160861847f8eSopenharmony_ci * @atomicservice
160961847f8eSopenharmony_ci * @since 11
161061847f8eSopenharmony_ci */
161161847f8eSopenharmony_cideclare const SearchInstance: SearchAttribute;
1612