UNPKG

13.3 kBTypeScriptView Raw
1/**
2 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
3 * Use the `Application` class imported from "@nativescript/core" instead:
4 * ```ts
5 * import { Application } from "@nativescript/core";
6 * Application.addCss()
7 * ```
8 */
9export declare const addCss: any;
10/**
11 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
12 * Use the `Application` class imported from "@nativescript/core" instead:
13 * ```ts
14 * import { Application } from "@nativescript/core";
15 * Application.getCssFileName()
16 * ```
17 */
18export declare const getCssFileName: any;
19/**
20 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
21 * Use the `Application` class imported from "@nativescript/core" instead:
22 * ```ts
23 * import { Application } from "@nativescript/core";
24 * Application.getMainEntry()
25 * ```
26 */
27export declare const getMainEntry: any;
28/**
29 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
30 * Use the `Application` class imported from "@nativescript/core" instead:
31 * ```ts
32 * import { Application } from "@nativescript/core";
33 * Application.getNativeApplication()
34 * ```
35 */
36export declare const getNativeApplication: any;
37/**
38 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
39 * Use the `Application` class imported from "@nativescript/core" instead:
40 * ```ts
41 * import { Application } from "@nativescript/core";
42 * Application.getResources()
43 * ```
44 */
45export declare const getResources: any;
46/**
47 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
48 * Use the `Application` class imported from "@nativescript/core" instead:
49 * ```ts
50 * import { Application } from "@nativescript/core";
51 * Application.getRootView()
52 * ```
53 */
54export declare const getRootView: any;
55/**
56 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
57 * Use the `Application` class imported from "@nativescript/core" instead:
58 * ```ts
59 * import { Application } from "@nativescript/core";
60 * Application.hasLaunched()
61 * ```
62 */
63export declare const hasLaunched: any;
64/**
65 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
66 * Use the `Application` class imported from "@nativescript/core" instead:
67 * ```ts
68 * import { Application } from "@nativescript/core";
69 * Application.hasListeners()
70 * ```
71 */
72export declare const hasListeners: any;
73/**
74 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
75 * Use the `Application` class imported from "@nativescript/core" instead:
76 * ```ts
77 * import { Application } from "@nativescript/core";
78 * Application.loadAppCss()
79 * ```
80 */
81export declare const loadAppCss: any;
82/**
83 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
84 * Use the `Application` class imported from "@nativescript/core" instead:
85 * ```ts
86 * import { Application } from "@nativescript/core";
87 * Application.notify()
88 * ```
89 */
90export declare const notify: any;
91/**
92 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
93 * Use the `Application` class imported from "@nativescript/core" instead:
94 * ```ts
95 * import { Application } from "@nativescript/core";
96 * Application.off()
97 * ```
98 */
99export declare const off: any;
100/**
101 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
102 * Use the `Application` class imported from "@nativescript/core" instead:
103 * ```ts
104 * import { Application } from "@nativescript/core";
105 * Application.on()
106 * ```
107 */
108export declare const on: any;
109/**
110 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
111 * Use the `Application` class imported from "@nativescript/core" instead:
112 * ```ts
113 * import { Application } from "@nativescript/core";
114 * Application.orientation()
115 * ```
116 */
117export declare const orientation: any;
118/**
119 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
120 * Use the `Application` class imported from "@nativescript/core" instead:
121 * ```ts
122 * import { Application } from "@nativescript/core";
123 * Application.resetRootView()
124 * ```
125 */
126export declare const resetRootView: any;
127/**
128 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
129 * Use the `Application` class imported from "@nativescript/core" instead:
130 * ```ts
131 * import { Application } from "@nativescript/core";
132 * Application.resetRootView()
133 * ```
134 */
135export declare const _resetRootView: any;
136/**
137 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
138 * Use the `Application` class imported from "@nativescript/core" instead:
139 * ```ts
140 * import { Application } from "@nativescript/core";
141 * Application.run()
142 * ```
143 */
144export declare const run: any;
145/**
146 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
147 * Use the `Application` class imported from "@nativescript/core" instead:
148 * ```ts
149 * import { Application } from "@nativescript/core";
150 * Application.setAutoSystemAppearanceChanged()
151 * ```
152 */
153export declare const setAutoSystemAppearanceChanged: any;
154/**
155 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
156 * Use the `Application` class imported from "@nativescript/core" instead:
157 * ```ts
158 * import { Application } from "@nativescript/core";
159 * Application.setCssFileName()
160 * ```
161 */
162export declare const setCssFileName: any;
163/**
164 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
165 * Use the `Application` class imported from "@nativescript/core" instead:
166 * ```ts
167 * import { Application } from "@nativescript/core";
168 * Application.setMaxRefreshRate()
169 * ```
170 */
171export declare const setMaxRefreshRate: any;
172/**
173 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
174 * Use the `Application` class imported from "@nativescript/core" instead:
175 * ```ts
176 * import { Application } from "@nativescript/core";
177 * Application.setResources()
178 * ```
179 */
180export declare const setResources: any;
181/**
182 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
183 * Use the `Application` class imported from "@nativescript/core" instead:
184 * ```ts
185 * import { Application } from "@nativescript/core";
186 * Application.systemAppearance()
187 * ```
188 */
189export declare const systemAppearance: any;
190/**
191 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
192 * Use the `Application` class imported from "@nativescript/core" instead:
193 * ```ts
194 * import { Application } from "@nativescript/core";
195 * Application.systemAppearanceChanged()
196 * ```
197 */
198export declare const systemAppearanceChanged: any;
199/**
200 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
201 * Use the `Application` class imported from "@nativescript/core" instead:
202 * ```ts
203 * import { Application } from "@nativescript/core";
204 * Application.discardedErrorEvent
205 * ```
206 */
207export declare const discardedErrorEvent = "discardedError";
208/**
209 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
210 * Use the `Application` class imported from "@nativescript/core" instead:
211 * ```ts
212 * import { Application } from "@nativescript/core";
213 * Application.uncaughtErrorEvent
214 * ```
215 */
216export declare const uncaughtErrorEvent = "uncaughtError";
217/**
218 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
219 * Use the `Application` class imported from "@nativescript/core" instead:
220 * ```ts
221 * import { Application } from "@nativescript/core";
222 * Application.displayedEvent
223 * ```
224 */
225export declare const displayedEvent = "displayed";
226/**
227 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
228 * Use the `Application` class imported from "@nativescript/core" instead:
229 * ```ts
230 * import { Application } from "@nativescript/core";
231 * Application.exitEvent
232 * ```
233 */
234export declare const exitEvent = "exit";
235/**
236 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
237 * Use the `Application` class imported from "@nativescript/core" instead:
238 * ```ts
239 * import { Application } from "@nativescript/core";
240 * Application.fontScaleChangedEvent
241 * ```
242 */
243export declare const fontScaleChangedEvent = "fontScaleChanged";
244/**
245 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
246 * Use the `Application` class imported from "@nativescript/core" instead:
247 * ```ts
248 * import { Application } from "@nativescript/core";
249 * Application.launchEvent
250 * ```
251 */
252export declare const launchEvent = "launch";
253/**
254 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
255 * Use the `Application` class imported from "@nativescript/core" instead:
256 * ```ts
257 * import { Application } from "@nativescript/core";
258 * Application.lowMemoryEvent
259 * ```
260 */
261export declare const lowMemoryEvent = "lowMemory";
262/**
263 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
264 * Use the `Application` class imported from "@nativescript/core" instead:
265 * ```ts
266 * import { Application } from "@nativescript/core";
267 * Application.resumeEvent
268 * ```
269 */
270export declare const resumeEvent = "resume";
271/**
272 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
273 * Use the `Application` class imported from "@nativescript/core" instead:
274 * ```ts
275 * import { Application } from "@nativescript/core";
276 * Application.orientationChangedEvent
277 * ```
278 */
279export declare const orientationChangedEvent = "orientationChanged";
280/**
281 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
282 * Use the `Application` class imported from "@nativescript/core" instead:
283 * ```ts
284 * import { Application } from "@nativescript/core";
285 * Application.suspendEvent
286 * ```
287 */
288export declare const suspendEvent = "suspend";
289/**
290 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
291 * Use the `Application` class imported from "@nativescript/core" instead:
292 * ```ts
293 * import { Application } from "@nativescript/core";
294 * Application.systemAppearanceChangedEvent
295 * ```
296 */
297export declare const systemAppearanceChangedEvent = "systemAppearanceChanged";
298/**
299 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
300 * Use the `Application` class imported from "@nativescript/core" instead:
301 * ```ts
302 * import { Application } from "@nativescript/core";
303 * Application.backgroundEvent
304 * ```
305 */
306export declare const backgroundEvent = "background";
307/**
308 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
309 * Use the `Application` class imported from "@nativescript/core" instead:
310 * ```ts
311 * import { Application } from "@nativescript/core";
312 * Application.foregroundEvent
313 * ```
314 */
315export declare const foregroundEvent = "foreground";
316/**
317 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
318 * Use the `Application` class imported from "@nativescript/core" instead:
319 * ```ts
320 * import { Application } from "@nativescript/core";
321 * Application.inBackground
322 * ```
323 */
324export declare const inBackground: boolean;
325/**
326 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
327 * Use the `Application` class imported from "@nativescript/core" instead:
328 * ```ts
329 * import { Application } from "@nativescript/core";
330 * Application.suspended
331 * ```
332 */
333export declare const suspended: boolean;
334/**
335 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
336 * Use the `Application` class imported from "@nativescript/core" instead:
337 * ```ts
338 * import { Application } from "@nativescript/core";
339 * Application.android
340 * ```
341 */
342export declare const android: import("./application").AndroidApplication;
343/**
344 * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.
345 * Use the `Application` class imported from "@nativescript/core" instead:
346 * ```ts
347 * import { Application } from "@nativescript/core";
348 * Application.ios
349 * ```
350 */
351export declare const ios: import("./application").iOSApplication;